-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
93 lines (80 loc) · 1.89 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
[project]
name = "python-tox-template"
description = "codebase consolidation tool"
license = { file = "LICENSE" }
requires-python = ">=3.12"
authors = [{ name = "OLILHR" }]
keywords = []
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dynamic = ["readme", "version"]
dependencies = []
[project.optional-dependencies]
coverage = [
"coverage==7.6.8"
]
dev = [
"pip-tools"
]
linting = [
"pylint==3.3.2"
]
formatting = [
"black==24.10.0",
"isort==5.13.2"
]
packaging = [
"pdm==2.21.0",
"twine==6.0.1"
]
spellchecking = [
"codespell==2.3.0"
]
testing = [
"pytest==8.3.4"
]
typechecking = [
"mypy==1.13.0"
]
[project.scripts]
[project.urls]
Changelog = "https://github.com/OLILHR/python-tox-template/releases"
Homepage = "https://github.com/OLILHR/python-tox-template"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm.version]
source = "scm"
[tool.pdm.build]
includes = ["src"]
excludes = ["/unittests"]
[tool.pdm.readme]
content-type = "text/markdown"
path = "README.md"
[tool.black]
line-length = 120
target_version = ["py312", "py313"]
[tool.isort]
line_length = 120
profile = "black"
[mypy]
truethy-bool = true
[tool.mypy]
disable_error_code = ["no-untyped-def", "no-untyped-call"]
[tool.pylint.format]
max-line-length = 120
[tool.pylint."MESSAGES CONTROL"]
disable = [
"too-few-public-methods",
"fixme",
]