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]
|
[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:}
|
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/passerelle-montpellier-sig/{env:BRANCH_NAME:}
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
@ -23,7 +23,7 @@ deps =
|
||||||
pytest-cov
|
pytest-cov
|
||||||
pytest-django
|
pytest-django
|
||||||
xmlschema<1.1
|
xmlschema<1.1
|
||||||
black: pre-commit
|
codestyle: pre-commit
|
||||||
commands =
|
commands =
|
||||||
py.test {posargs: {env:JUNIT:} {env:COVERAGE:} tests/}
|
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