Switch to "ruff" linter, enable many of its rules (#3368)

Co-authored-by: Ultrabug <ultrabug@ultrabug.net>
This commit is contained in:
Oleh Prypin
2023-09-04 10:02:38 +02:00
committed by GitHub
parent 94e9f17cd7
commit b0915b4697
20 changed files with 56 additions and 36 deletions

View File

@@ -65,12 +65,12 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16
- name: Check with ruff
if: always()
run: hatch run style:lint
- name: Check with black + isort
if: always()
run: hatch run style:format && git diff --exit-code
- name: Check with flake8
if: always()
run: hatch run style:lint
- name: Check with mypy
if: always()
run: hatch run types:check