-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (82 loc) · 2.42 KB
/
pyproject.toml
File metadata and controls
89 lines (82 loc) · 2.42 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
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
[build-system]
build-backend = "hatchling.build"
requires = [ "hatch-vcs", "hatchling" ]
[project]
name = "latex-dependency-scanner"
description = "Scan LaTeX documents for their dependencies."
requires-python = ">=3.8"
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dynamic = [ "version" ]
[[project.authors]]
name = "Tobias Raabe"
email = "raabe@posteo.de"
[project.license]
text = "MIT"
[project.readme]
content-type = "text/markdown"
file = "README.md"
[project.urls]
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"
Homepage = "https://github.com/pytask-dev/latex-dependency-scanner"
Tracker = "https://github.com/pytask-dev/latex-dependency-scanner/issues"
[dependency-groups]
test = [
"pytest>=8.1.1",
"pytest-cov>=5",
]
typing = [
"ty>=0.0.8",
]
[tool.hatch]
[tool.hatch.build]
hooks.vcs.version-file = "src/latex_dependency_scanner/_version.py"
targets.sdist.exclude = [ "tests" ]
targets.sdist.only-packages = true
targets.wheel.exclude = [ "tests" ]
targets.wheel.only-packages = true
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version]
source = "vcs"
[tool.ruff]
target-version = "py38"
fix = true
unsafe-fixes = true
[tool.ruff.lint]
select = [ "ALL" ]
extend-ignore = [
"COM812", # Comply with ruff-format
"ISC001", # Comply with ruff-format
]
per-file-ignores."tests/*" = [ "ANN", "D", "S101" ]
isort.force-single-line = true
pydocstyle.convention = "numpy"
[tool.pyproject-fmt]
table_format = "long"
[tool.ty]
overrides = [
{ include = [ "src/**/_version.py" ], rules = { invalid-type-form = "ignore" } },
{ include = [ "src/**/__init__.py" ], rules = { unused-ignore-comment = "ignore" } },
]
[tool.ty.rules]
unused-ignore-comment = "error"
[tool.ty.terminal]
error-on-warning = true
[tool.pytest]
[tool.pytest.ini_options]
testpaths = [ "src", "tests" ]
norecursedirs = [ ".idea", ".tox" ]