-
-
Notifications
You must be signed in to change notification settings - Fork 526
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pre-commit.ci] pre-commit autoupdate (#3279)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bernát Gábor <[email protected]>
- Loading branch information
1 parent
f4e257c
commit 5c28d9c
Showing
9 changed files
with
52 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,9 @@ maintainers = [ | |
{ name = "Jürgen Gmach", email = "[email protected]" }, | ||
{ name = "Oliver Bestwalter", email = "[email protected]" }, | ||
] | ||
authors = [{ name = "Bernát Gábor", email = "[email protected]" }] | ||
authors = [ | ||
{ name = "Bernát Gábor", email = "[email protected]" }, | ||
] | ||
requires-python = ">=3.8" | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
|
@@ -51,13 +53,13 @@ dependencies = [ | |
"chardet>=5.2", | ||
"colorama>=0.4.6", | ||
"filelock>=3.13.1", | ||
'importlib-metadata>=7.0.1; python_version < "3.8"', | ||
"importlib-metadata>=7.0.1; python_version<'3.8'", | ||
"packaging>=23.2", | ||
"platformdirs>=4.1", | ||
"pluggy>=1.3", | ||
"pyproject-api>=1.6.1", | ||
'tomli>=2.0.1; python_version < "3.11"', | ||
'typing-extensions>=4.9; python_version < "3.8"', | ||
"tomli>=2.0.1; python_version<'3.11'", | ||
"typing-extensions>=4.9; python_version<'3.8'", | ||
"virtualenv>=20.25", | ||
] | ||
optional-dependencies.docs = [ | ||
|
@@ -86,7 +88,7 @@ optional-dependencies.testing = [ | |
"pytest-mock>=3.12", | ||
"pytest-xdist>=3.5", | ||
"re-assert>=1.1", | ||
'time-machine>=2.13; implementation_name != "pypy"', | ||
"time-machine>=2.13; implementation_name!='pypy'", | ||
"wheel>=0.42", | ||
] | ||
urls.Documentation = "https://tox.wiki" | ||
|
@@ -97,16 +99,29 @@ urls.Tracker = "https://github.com/tox-dev/tox/issues" | |
scripts.tox = "tox.run:run" | ||
|
||
[tool.hatch] | ||
build.dev-mode-dirs = ["src"] | ||
build.dev-mode-dirs = [ | ||
"src", | ||
] | ||
build.hooks.vcs.version-file = "src/tox/version.py" | ||
build.targets.sdist.include = ["/src", "/tests", "/tox.ini"] | ||
build.targets.sdist.include = [ | ||
"/src", | ||
"/tests", | ||
"/tox.ini", | ||
] | ||
version.source = "vcs" | ||
|
||
[tool.ruff] | ||
line-length = 120 | ||
target-version = "py38" | ||
lint.isort = { known-first-party = ["tox", "tests"], required-imports = ["from __future__ import annotations"] } | ||
lint.select = ["ALL"] | ||
lint.isort = { known-first-party = [ | ||
"tox", | ||
"tests", | ||
], required-imports = [ | ||
"from __future__ import annotations", | ||
] } | ||
lint.select = [ | ||
"ALL", | ||
] | ||
lint.ignore = [ | ||
"CPY", # No copyright header | ||
"INP001", # no implicit namespaces here | ||
|
@@ -145,7 +160,9 @@ ignore-words = "ignore-words.txt" | |
count = true | ||
|
||
[tool.pytest.ini_options] | ||
testpaths = ["tests"] | ||
testpaths = [ | ||
"tests", | ||
] | ||
addopts = "--tb=auto -ra --showlocals --no-success-flaky-report" | ||
|
||
[tool.coverage] | ||
|
@@ -160,9 +177,15 @@ paths.source = [ | |
"*\\src", | ||
] | ||
report.fail_under = 88 | ||
report.omit = ["src/tox/config/cli/for_docs.py", "tests/execute/local_subprocess/bad_process.py", "tests/type_check/*"] | ||
report.omit = [ | ||
"src/tox/config/cli/for_docs.py", | ||
"tests/execute/local_subprocess/bad_process.py", | ||
"tests/type_check/*", | ||
] | ||
run.parallel = true | ||
run.plugins = ["covdefaults"] | ||
run.plugins = [ | ||
"covdefaults", | ||
] | ||
|
||
[tool.towncrier] | ||
name = "tox" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters