Skip to content
Snippets Groups Projects
Verified Commit 8d5dea5e authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

[CI] Run black formatter in diff mode before flake8

parent d8a32e0b
No related branches found
No related tags found
No related merge requests found
Pipeline #362 passed with warnings
......@@ -31,7 +31,7 @@ test:
lint:
stage: test
script:
- tox -e lint,security
- tox -e black,lint,security
allow_failure: true
build_dist:
......
......@@ -33,8 +33,8 @@ commands = poetry build
[testenv:docs]
commands = poetry run make -C docs/ html {posargs}
[testenv:autoformat]
commands = poetry run black {posargs} biscuit/core/
[testenv:black]
commands = poetry run black --check --diff biscuit/core/
[flake8]
max_line_length = 100
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment