Skip to content

Commit

Permalink
Fix #3278 - Boost temporary directories cleanup in tests (#3323)
Browse files Browse the repository at this point in the history
* Fix #3278 - Boost temporary directories cleanup in tests

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
ziima and pre-commit-ci[bot] authored Aug 11, 2024
1 parent 352a3dd commit add99ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/changelog/3278.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Boost temporary directories cleanup in tests - by :user:`ziima`.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ testpaths = [
"tests",
]
addopts = "--tb=auto -ra --showlocals --no-success-flaky-report"
# Keep temporary directories only for failed or errored tests.
tmp_path_retention_policy = "failed"

[tool.coverage]
html.show_contexts = true
Expand Down
1 change: 0 additions & 1 deletion src/tox/tox_env/python/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from tox.tox_env.errors import Fail, Recreate, Skip

if TYPE_CHECKING:

from tox.config.main import Config


Expand Down

0 comments on commit add99ed

Please sign in to comment.