Merge pull request #163 from Pythagora-io/feature/linting-with-ruff

linting with ruff
This commit is contained in:
LeonOstrez
2023-10-11 11:12:06 +01:00
committed by GitHub
32 changed files with 86 additions and 92 deletions

View File

@@ -55,9 +55,9 @@ jobs:
pip install flake8 ruff
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# stop the build if there are Python syntax errors or undefined names
ruff --format=github --select=E9,F63,F7,F82 --target-version=py37 .
ruff --output-format=github --select=E9,F63,F7,F82 --target-version=py37 ./pilot
# default set of ruff rules with GitHub Annotations
#ruff --format=github --target-version=py37 --ignore=F401,E501 .
ruff --output-format=github --target-version=py37 --ignore=F401,E402,E501 ./pilot
- name: Run tests
env: