Skip to content

Commit

Permalink
chore: Use ruff for most lints
Browse files Browse the repository at this point in the history
  • Loading branch information
rumpelsepp committed Jan 11, 2023
1 parent 4949b3c commit e36df23
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 327 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,12 @@ jobs:
- name: Install Dependencies
run: |
poetry install
- name: Run flake8
- name: Run ruff
run: |
poetry run flake8 src tests
poetry run ruff src tests
- name: Run mypy
run: |
poetry run mypy src tests
- name: Run pylint
run: |
poetry run pylint src tests
- name: Run black
run: |
poetry run black --check --verbose src tests
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ zipapp:

.PHONY: lint
lint:
flake8 src tests
mypy src tests
pylint src tests
ruff src tests
black --check src tests
isort --check src tests
reuse lint
Expand Down
Loading

0 comments on commit e36df23

Please sign in to comment.