Add linters to CI #1
@ -13,7 +13,8 @@ deploy:
|
|||||||
lint:
|
lint:
|
||||||
stage: lint
|
stage: lint
|
||||||
before_script:
|
before_script:
|
||||||
- pip install black flake8 isort flake8-bugbear flake8-builtins flake8-comprehensions flake8-tidy-imports flake8-eradicate flake8-print flake8-return flake8-use-fstring git+https://github.com/derrix060/flake8-expression-complexity.git
|
- pip install black flake8 isort
|
||||||
|
# - pip install flake8-bugbear flake8-builtins flake8-comprehensions flake8-tidy-imports flake8-eradicate flake8-print flake8-return flake8-use-fstring git+https://github.com/derrix060/flake8-expression-complexity.git
|
||||||
script:
|
script:
|
||||||
- black --check src/
|
- black --check src/
|
||||||
- flake8 src/
|
- flake8 src/
|
||||||
|
Reference in New Issue
Block a user