-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
99 lines (80 loc) · 2.17 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
91
92
93
94
95
96
97
98
99
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "latex_dependency_scanner"
description = "Scan LaTeX documents for their dependencies."
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
]
requires-python = ">=3.8"
dynamic = ["version"]
[[project.authors]]
name = "Tobias Raabe"
email = "[email protected]"
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.license]
text = "MIT"
[project.urls]
Homepage = "https://github.com/pytask-dev/latex-dependency-scanner"
Changelog = "https://github.com/pytask-dev/latex-dependency-scanner/blob/main/CHANGES.md"
Documentation = "https://github.com/pytask-dev/latex-dependency-scanner"
Github = "https://github.com/pytask-dev/latex-dependency-scanner"
Tracker = "https://github.com/pytask-dev/latex-dependency-scanner/issues"
[project.optional-dependencies]
typing = [
"mypy>=1.10.0",
]
test = [
"pytest>=8.1.1",
"pytest-cov>=5.0.0",
]
[tool.rye]
managed = true
[tool.hatch.build.hooks.vcs]
version-file = "src/latex_dependency_scanner/_version.py"
[tool.hatch.build.targets.sdist]
exclude = ["tests"]
only-packages = true
[tool.hatch.build.targets.wheel]
exclude = ["tests"]
only-packages = true
[tool.hatch.version]
source = "vcs"
[tool.hatch.metadata]
allow-direct-references = true
[tool.mypy]
files = ["src", "tests"]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
ignore_errors = true
[tool.ruff]
target-version = "py38"
fix = true
unsafe-fixes = true
[tool.ruff.lint]
extend-ignore = [
"COM812", # Comply with ruff-format
"ISC001", # Comply with ruff-format
]
select = ["ALL"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["ANN", "D", "S101"]
[tool.ruff.lint.isort]
force-single-line = true
[tool.ruff.lint.pydocstyle]
convention = "numpy"