let 'tahoe -e codechecks' run w/o making local changes

This commit is contained in:
meejah 2018-08-27 15:25:48 -06:00
parent e269d2427b
commit 821e6c3d07
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1 @@
"tox -e codechecks" puts back the local file it mv's while doing code-checks

View File

@ -68,6 +68,10 @@ commands =
# file. See pyproject.toml for legal <change type> values. # file. See pyproject.toml for legal <change type> values.
python -m towncrier.check python -m towncrier.check
# put it back
mv pyproject.toml towncrier.pyproject.toml
[testenv:deprecations] [testenv:deprecations]
setenv = setenv =
PYTHONWARNINGS=default::DeprecationWarning PYTHONWARNINGS=default::DeprecationWarning