Skip to content

Commit

Permalink
chore: add ruff linter
Browse files Browse the repository at this point in the history
  • Loading branch information
knrdl committed Jul 20, 2024
1 parent 4242861 commit 0a44083
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
run: |
pip install flake8 flake8-bandit flake8-bugbear flake8-builtins flake8-comprehensions flake8-deprecated flake8-isort flake8-print flake8-quotes flake8-todo
pip install pylint
pip install ruff
- name: Check linting
run: |
Expand All @@ -44,4 +45,5 @@ jobs:
# B008: FastAPI uses by design function calls in arguments for dependency injection
python -m flake8 --max-line-length 179 --ignore=F722,B008,I001,I004,I005 .
pylint --max-line-length=179 --recursive=yes --disable=too-many-branches,no-else-return,broad-exception-caught,missing-module-docstring,missing-class-docstring,missing-function-docstring .
ruff check .

0 comments on commit 0a44083

Please sign in to comment.