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

This commit is contained in:
Valentin Deniaud 2023-03-01 14:55:33 +01:00
parent 164021cf9e
commit ffeb439b0e
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-encombrants/{env:BRANCH_NAME:}
[testenv]
@ -22,7 +22,7 @@ deps =
pytest
pytest-cov
pytest-django
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