@@ -23,7 +23,9 @@ maintainers = [
23
23
{
name =
" Jürgen Gmach" ,
email =
" [email protected] " },
24
24
{
name =
" Oliver Bestwalter" ,
email =
" [email protected] " },
25
25
]
26
- authors = [{
name =
" Bernát Gábor" ,
email =
" [email protected] " }]
26
+ authors = [
27
+ {
name =
" Bernát Gábor" ,
email =
" [email protected] " },
28
+ ]
27
29
requires-python = " >=3.8"
28
30
classifiers = [
29
31
" Development Status :: 5 - Production/Stable" ,
@@ -51,13 +53,13 @@ dependencies = [
51
53
" chardet>=5.2" ,
52
54
" colorama>=0.4.6" ,
53
55
" filelock>=3.13.1" ,
54
- ' importlib-metadata>=7.0.1; python_version < " 3.8" ' ,
56
+ " importlib-metadata>=7.0.1; python_version<' 3.8' " ,
55
57
" packaging>=23.2" ,
56
58
" platformdirs>=4.1" ,
57
59
" pluggy>=1.3" ,
58
60
" pyproject-api>=1.6.1" ,
59
- ' tomli>=2.0.1; python_version < " 3.11" ' ,
60
- ' typing-extensions>=4.9; python_version < " 3.8" ' ,
61
+ " tomli>=2.0.1; python_version<' 3.11' " ,
62
+ " typing-extensions>=4.9; python_version<' 3.8' " ,
61
63
" virtualenv>=20.25" ,
62
64
]
63
65
optional-dependencies.docs = [
@@ -86,7 +88,7 @@ optional-dependencies.testing = [
86
88
" pytest-mock>=3.12" ,
87
89
" pytest-xdist>=3.5" ,
88
90
" re-assert>=1.1" ,
89
- ' time-machine>=2.13; implementation_name != " pypy" ' ,
91
+ " time-machine>=2.13; implementation_name!=' pypy' " ,
90
92
" wheel>=0.42" ,
91
93
]
92
94
urls.Documentation = " https://tox.wiki"
@@ -97,16 +99,29 @@ urls.Tracker = "https://github.com/tox-dev/tox/issues"
97
99
scripts.tox = " tox.run:run"
98
100
99
101
[tool .hatch ]
100
- build.dev-mode-dirs = [" src" ]
102
+ build.dev-mode-dirs = [
103
+ " src" ,
104
+ ]
101
105
build.hooks.vcs.version-file = " src/tox/version.py"
102
- build.targets.sdist.include = [" /src" , " /tests" , " /tox.ini" ]
106
+ build.targets.sdist.include = [
107
+ " /src" ,
108
+ " /tests" ,
109
+ " /tox.ini" ,
110
+ ]
103
111
version.source = " vcs"
104
112
105
113
[tool .ruff ]
106
114
line-length = 120
107
115
target-version = " py38"
108
- lint.isort = { known-first-party = [" tox" , " tests" ], required-imports = [" from __future__ import annotations" ] }
109
- lint.select = [" ALL" ]
116
+ lint.isort = { known-first-party = [
117
+ " tox" ,
118
+ " tests" ,
119
+ ], required-imports = [
120
+ " from __future__ import annotations" ,
121
+ ] }
122
+ lint.select = [
123
+ " ALL" ,
124
+ ]
110
125
lint.ignore = [
111
126
" CPY" , # No copyright header
112
127
" INP001" , # no implicit namespaces here
@@ -145,7 +160,9 @@ ignore-words = "ignore-words.txt"
145
160
count = true
146
161
147
162
[tool .pytest .ini_options ]
148
- testpaths = [" tests" ]
163
+ testpaths = [
164
+ " tests" ,
165
+ ]
149
166
addopts = " --tb=auto -ra --showlocals --no-success-flaky-report"
150
167
151
168
[tool .coverage ]
@@ -160,9 +177,15 @@ paths.source = [
160
177
" *\\ src" ,
161
178
]
162
179
report.fail_under = 88
163
- report.omit = [" src/tox/config/cli/for_docs.py" , " tests/execute/local_subprocess/bad_process.py" , " tests/type_check/*" ]
180
+ report.omit = [
181
+ " src/tox/config/cli/for_docs.py" ,
182
+ " tests/execute/local_subprocess/bad_process.py" ,
183
+ " tests/type_check/*" ,
184
+ ]
164
185
run.parallel = true
165
- run.plugins = [" covdefaults" ]
186
+ run.plugins = [
187
+ " covdefaults" ,
188
+ ]
166
189
167
190
[tool .towncrier ]
168
191
name = " tox"
0 commit comments