-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
87 lines (76 loc) · 2.11 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
[build-system]
requires = ["poetry-core>=1.9.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
files = "pyproject_patcher/**/*.py,tests/**/*.py"
mypy_path = "pyproject_patcher/stubs"
implicit_reexport = false
no_implicit_optional = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_ignores = true
[tool.poetry]
name = "pyproject_patcher"
version = "0.2.3"
description = "Collection of convenience functions to patch `pyproject.toml` in place"
readme = ["README.md", "USAGE.md"]
authors = ["Claudia Pellegrino <clau@tiqua.de>"]
license = "Apache-2.0"
classifiers = [
"Development Status :: 3 - Alpha",
"Operating System :: POSIX :: Linux",
"Topic :: Software Development :: Build Tools",
]
[tool.poetry.dependencies]
python = ">=3.12"
colorama = "*"
distlib = "*"
in-place = "*"
tomlkit = "*"
typing-extensions = "*"
[tool.poetry.group.dev.dependencies]
autopep8 = "*"
mypy = ">=1.8"
myst-parser = ">=2.0.0"
pdoc = ">=14.0"
poethepoet = ">=0.24"
pylint = ">=3.0"
pytest = "*"
sphinx = ">=7.1.2,<7.2.0"
types-colorama = "*"
[tool.poetry.group.test.dependencies]
setuptools-git-versioning = "*"
[tool.poe]
verbosity = -1
[tool.poe.tasks]
tasks.cmd = "poe -v"
tasks.help = "List available tasks"
doc.cmd = "sphinx-build -aqEW -b man doc/sphinx build/man"
doc.help = "Generate documentation"
html.cmd = "pdoc pyproject_patcher !pyproject_patcher.settings"
html.help = "Browse HTML documentation"
linter.cmd = "pylint --enable-all-extensions pyproject_patcher"
linter.help = "Check for style violations"
man.cmd = "man build/man/pyproject-patcher.3"
man.help = "Open manual page"
tests.cmd = "pytest"
tests.help = "Run test suite"
typecheck.cmd = "mypy"
typecheck.help = "Run static type checker"
[tool.pyright]
reportUnsupportedDunderAll = "none"
[tool.pytest.ini_options]
testpaths = "tests"
xfail_strict = true
[tool.ruff]
line-length = 72
[tool.ruff.format]
quote-style = "single"