Added all the packages for linting

This commit is contained in:
Roger Gonzalez 2023-08-17 12:19:11 -03:00
parent 1217c182a3
commit e7505f2852
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6

View File

@ -10,11 +10,10 @@ deploy:
- python -m build
- TWINE_PASSWORD=$PYPI_PASSWORD TWINE_USERNAME=$PYPI_USERNAME python3 -m twine upload dist/*
test:
lint:
stage: test
before_script:
- 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
- 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
script:
- black --check src/
- flake8 src/