-
-
Notifications
You must be signed in to change notification settings - Fork 541
cowardly refuse to delete a directory if it isn't a venv #1340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
since AP's python is still broken: $ git rev-parse HEAD
3eb1896a98f28fbc5b36837da54faa20f46b850d
$ tox -e fix_lint
fix_lint create: /tmp/tox/.tox/fix_lint
fix_lint installdeps: pre-commit >= 1.14.4, < 2
fix_lint installed: aspy.yaml==1.3.0,cfgv==2.0.0,identify==1.4.3,importlib-metadata==0.17,nodeenv==1.3.3,pre-commit==1.17.0,PyYAML==5.1.1,six==1.12.0,toml==0.10.0,virtualenv==16.6.0,zipp==0.5.1
fix_lint run-test-pre: PYTHONHASHSEED='3597702364'
fix_lint run-test: commands[0] | pre-commit run --all-files --show-diff-on-failure
[INFO] Installing environment for https://github.com/asottile/seed-isort-config.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/mirrors-isort.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/asottile/pyupgrade.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
black....................................................................Passed
blacken-docs.............................................................Passed
seed isort known_third_party.............................................Passed
isort....................................................................Passed
Trim Trailing Whitespace.................................................Passed
Fix End of Files.........................................................Passed
Check Yaml...............................................................Passed
Debug Statements (Python)................................................Passed
Flake8...................................................................Passed
pyupgrade................................................................Passed
rst ``code`` is two backticks............................................Passed
fix_lint run-test: commands[1] | python -c 'import pathlib; print("hint: run {} install to add checks as pre-commit hook".format(pathlib.Path(r"/tmp/tox/.tox/fix_lint") / "bin" / "pre-commit"))'
hint: run /tmp/tox/.tox/fix_lint/bin/pre-commit install to add checks as pre-commit hook
___________________________________ summary ____________________________________
fix_lint: commands succeeded
congratulations :) |
How do I override this feature? |
beyond |
Ended up doing |
Do you have a failing output? I'd be interested in what case you're hitting? |
The output isn't very illuminating but here it is:
|
interesting! what version of |
This .tox directory was created by version 2.5 I believe. And then I ran the latest version in the same directory. Unfortunately I could never reproduce the error locally and that directory is long gone at this point |
wompwomp oh well :( -- if it crops up again let us know! thanks |
Something is fishy I recently encountered this with env name
|
|
Oh hmm .tox/dist I don't know about though 🤔 |
Ah yes, that's |
Contribution checklist:
(also see CONTRIBUTING.rst for details)
in message body (N/A)
<issue number>.<type>.rst
for example (588.bugfix.rst)<type>
is must be one ofbugfix
,feature
,deprecation
,breaking
,doc
,misc
<your username>
"superuser
."CONTRIBUTORS
(preserving alphabetical order)