-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
137 lines (125 loc) · 3.43 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
[project]
name = "pyproject-installer"
description = "Pyproject installer"
readme = "README.md"
requires-python = ">=3.9"
license = {text = "MIT"}
authors = [
{name = "Stanislav Levin", email = "slev@altlinux.org"},
]
keywords = ["packaging", "PEP517", "build", "install"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: Unix",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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",
"Topic :: Software Development :: Libraries",
]
dynamic = ["version"]
[project.urls]
source = "https://github.com/stanislavlevin/pyproject_installer"
tracker = "https://github.com/stanislavlevin/pyproject_installer/issues"
[build-system]
requires = []
build-backend = "backend"
backend-path = ["."]
[tool.pyproject_installer.backend]
package_dir = "src"
version_file = "src/pyproject_installer/version.py"
include_dirs_sdist = ["backend", "tests"]
[tool.black]
line-length = 80
extend-exclude = '''
.*/_vendor/.*
'''
[tool.pylint."master"]
recursive = true
ignore-paths = [
".*/_vendor/.*",
'.*/\.git/.*',
'^.git/.*', # dot escaping doesn't work, see pylint#5398
'.*/\.tox/.*',
'^.tox/.*', # dot escaping doesn't work, see pylint#5398
'.*/\.run_venv/.*',
'^.run_venv/.*', # dot escaping doesn't work, see pylint#5398
]
suggestion-mode = "yes"
persistent="no"
[tool.pylint."messages control"]
enable = [
"all",
"useless-suppression",
]
disable = [
"bad-inline-option",
"c-extension-no-member",
"deprecated-pragma",
"file-ignored",
"locally-disabled",
"raw-checker-failed",
"suppressed-message",
"use-symbolic-message-instead",
"bad-indentation",
"broad-except",
"dangerous-default-value",
"duplicate-code",
"fixme",
"invalid-name",
"line-too-long",
"missing-docstring",
"protected-access",
"raise-missing-from",
"redefined-builtin",
"redefined-outer-name",
"super-init-not-called",
"superfluous-parens",
"too-few-public-methods",
"too-many-arguments",
"too-many-branches",
"too-many-instance-attributes",
"too-many-lines",
"too-many-locals",
"too-many-nested-blocks",
"too-many-public-methods",
"too-many-return-statements",
"too-many-statements",
"trailing-newlines",
"trailing-whitespace",
"ungrouped-imports",
"unused-argument",
"wrong-import-order",
"wrong-import-position",
"consider-using-with", # pylint 2.8.0, contextmanager is not mandatory
"consider-using-max-builtin", # pylint 2.8.0, code can be more readable
"consider-using-min-builtin", # pylint 2.8.0, code can be more readable
"consider-using-f-string", # pylint 2.11.0, format can be more readable
"subprocess-run-check", # subprocess result can be check later or ignored
]
[tool.pylint."reports"]
output-format = "colorized"
[tool.coverage.run]
source = [
"pyproject_installer",
]
omit = [
"*/_vendor/*",
]
[tool.coverage.report]
skip_covered = false
show_missing = true
[tool.coverage.paths]
source = [
"src/pyproject_installer",
"*/src/pyproject_installer",
]
[tool.pytest.ini_options]
filterwarnings = [
"error",
]