ci: run pre-commit-hooks (#74980)
gitea/passerelle-montpellier-sig/pipeline/head This commit looks good
Details
gitea/passerelle-montpellier-sig/pipeline/head This commit looks good
Details
This commit is contained in:
parent
eb5ea772de
commit
7104861cfa
6
tox.ini
6
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue