From 0a44083f2e6ab840c88948b8332f17d84f640a83 Mon Sep 17 00:00:00 2001 From: knrdl <35548889+knrdl@users.noreply.github.com> Date: Sat, 20 Jul 2024 16:59:31 +0200 Subject: [PATCH] chore: add ruff linter --- .github/workflows/lint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 040418d..7c54475 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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: | @@ -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 .