-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
44 lines (39 loc) · 1.27 KB
/
pyproject.toml
File metadata and controls
44 lines (39 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[project]
name = "pub-ready-plots"
version = "1.5"
description = "Easy publication-ready matplotlib plots for ML papers and posters."
authors = [{ name = "Agustinus Kristiadi", email = "agustinus@kristia.de" }]
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
]
requires-python = ">=3.11"
dependencies = ["matplotlib>=3.10", "numpy>=2.3", "pandas>=2.3"]
readme = "README.md"
license = { text = "MIT" }
[build-system]
requires = ["uv_build>=0.11.12,<0.12"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-root = ""
[dependency-groups]
dev = [
"pytest>=8.2.2",
"pytest-cov>=5.0.0",
"ruff>=0.5.0",
"mypy>=1.11.1",
"seaborn>=0.13.2",
"pypalettes>=0.1.3",
]
[tool.pytest.ini_options]
testpaths = "tests"
[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default.
# Adds isort ("I") and pylint errors and warning ("PLE", "PLW") to defaults.
select = ["E4", "E7", "E9", "F", "I", "PLE", "PLW"]
# Ignore pylint's overwritten loop variable by assignment error
# Skip "Module level import not at top of file"
ignore = ["PLW2901", "E402"]