Skip to content

Commit

Permalink
Run ruff format --check during linting too
Browse files Browse the repository at this point in the history
  • Loading branch information
zerolab committed Nov 12, 2024
1 parent 49f9383 commit 953e0b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ lint: lint-py lint-html lint-frontend ## Run all linters (python, html, front-en
.PHONY: lint-py
lint-py: ## Run all Python linters (ruff/pylint/mypy).
poetry run ruff check .
poetry run ruff format --check .
find . -type f -name "*.py" | xargs poetry run pylint --reports=n --output-format=colorized --rcfile=.pylintrc --django-settings-module=cms.settings.production -j 0
make mypy

Expand Down

0 comments on commit 953e0b7

Please sign in to comment.