ci: run pre-commit-hooks (#74980)
gitea/passerelle-montpellier-sig/pipeline/head This commit looks good Details

This commit is contained in:
Valentin Deniaud 2023-03-01 15:02:19 +01:00
parent eb5ea772de
commit 7104861cfa
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
[tox]
envlist = py3-django32-black-junit-coverage
envlist = py3-django32-codestyle-junit-coverage
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/passerelle-montpellier-sig/{env:BRANCH_NAME:}
[testenv]
@ -23,7 +23,7 @@ deps =
pytest-cov
pytest-django
xmlschema<1.1
black: pre-commit
codestyle: pre-commit
commands =
py.test {posargs: {env:JUNIT:} {env:COVERAGE:} tests/}
black: pre-commit run black --all-files --show-diff-on-failure
codestyle: pre-commit run --all-files --show-diff-on-failure