Skip to content

Commit

Permalink
Add lint-fix target
Browse files Browse the repository at this point in the history
  • Loading branch information
srics committed Sep 9, 2024
1 parent 5bf0c4c commit 0d16205
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ lint:
ruff check --select I .
mkdir -p $(MYPY_CACHE) && mypy --install-types --non-interactive $(PYTHON_FILES) --cache-dir $(MYPY_CACHE) --exclude build/ --exclude pebblo_saferetriever --check-untyped-defs || true

lint-fix:
ruff check --fix
ruff format

spell_check:
codespell --toml pyproject.toml

Expand Down

0 comments on commit 0d16205

Please sign in to comment.