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: ...@@ -31,7 +31,7 @@ test:
lint: lint:
stage: test stage: test
script: script:
- tox -e lint,security - tox -e black,lint,security
allow_failure: true allow_failure: true
build_dist: build_dist:
......
...@@ -33,8 +33,8 @@ commands = poetry build ...@@ -33,8 +33,8 @@ commands = poetry build
[testenv:docs] [testenv:docs]
commands = poetry run make -C docs/ html {posargs} commands = poetry run make -C docs/ html {posargs}
[testenv:autoformat] [testenv:black]
commands = poetry run black {posargs} biscuit/core/ commands = poetry run black --check --diff biscuit/core/
[flake8] [flake8]
max_line_length = 100 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