-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
90 lines (74 loc) · 2.39 KB
/
pyproject.toml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "taulukko"
version = "2023.10.21"
description = "Table (Finnish Taulukko) glued together to transform into hands-free living."
readme = "README.md"
license = {file = "LICENSE"}
authors = [{ name = "Stefan Hagen", email = "[email protected]" }]
maintainers = [{ name = "Stefan Hagen", email = "[email protected]" }]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.9",
]
keywords = ["developer-tools", "documentation-tools", "html", "markdown"]
dependencies = [
"pytablereader >= 0.31.4",
"pytablewriter >= 1.2.0",
"typer >= 0.9.0",
]
requires-python = ">=3.9"
[project.optional-dependencies]
dev = ["black", "coverage", "hypothesis", "mypy", "pytest", "pytest-cov", "pytest-flake8", "ruff"]
[project.urls]
Homepage = "https://git.sr.ht/~sthagen/taulukko"
Bug-Tracker = "https://todo.sr.ht/~sthagen/taulukko"
Documentation = "https://codes.dilettant.life/docs/taulukko"
Source-Code = "https://git.sr.ht/~sthagen/taulukko"
Test-Coverage = "https://codes.dilettant.life/coverage/taulukko"
[project.scripts]
taulukko = "taulukko.cli:main"
[tool.setuptools.packages.find]
include = ["taulukko"]
exclude = ["test*"]
[tool.black]
line-length = 120
skip-string-normalization = true
target-version = [ "py39", "py310", "py311", "py312" ]
[tool.coverage.run]
branch = true
[tool.coverage.report]
precision = 2
exclude_lines = [ "pragma: no cover", "raise NotImplementedError", "if TYPE_CHECKING:", "@overload" ]
omit = [ "*/__main__.py" ]
[tool.mypy]
strict = true
implicit_reexport = true
[tool.pytest]
testpaths = "test"
filterwarnings = "error"
[tool.ruff]
line-length = 120
exclude = [ ".direnv", ".eggs", ".git", ".mypy_cache", ".ruff_cache", ".venv", "__pypackages__", "bin", "dist", "venv" ]
target-version = "py312"
[tool.ruff.lint]
select = [ "E", "F", "Q" ]
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
inline-quotes = "single"
[tool.ruff.lint.flake8-import-conventions.aliases]
altair = "alt"
"matplotlib.pyplot" = "plt"
numpy = "np"
pandas = "pd"
seaborn = "sns"
[tool.ruff.lint.mccabe]
max-complexity = 42
[tool.ruff.lint.per-file-ignores]
"__init__.py" = [ "E402" ]