Skip to content

Commit

Permalink
Added ruff format --check . to CI and Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jsma committed Nov 12, 2023
1 parent 1d0634f commit 60104e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
paths:
- .venv
- run: pipenv run ruff check .
- run: pipenv run ruff format --check .
- run: pipenv run semgrep --config .semgrep.yml --error .
- run: git ls-files '*.html' | xargs pipenv run djhtml --check
- run: pipenv run curlylint --parse-only wagtail
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ develop: clean-pyc
npm install --no-save && npm run build

lint-server:
ruff format --check .
ruff check .
curlylint --parse-only wagtail
git ls-files '*.html' | xargs djhtml --check
Expand Down

0 comments on commit 60104e9

Please sign in to comment.