Skip to content

Commit

Permalink
Add lint checks
Browse files Browse the repository at this point in the history
  • Loading branch information
inbalboa committed Jan 3, 2024
1 parent d98b0ed commit 1e82565
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ extend-select = [

# flake8-datetimez
"DTZ",

# Refurb
"FURB",
]

extend-ignore = [
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TAG=`python setup.py --version`

lint:
@printf "==> linting...\n"
@python3 -m ruff check "$(CURDIR)"
@python3 -m ruff check --preview --unsafe-fixes "$(CURDIR)"
@python3 -m mypy --ignore-missing-imports --strict pymstodo

check:
Expand Down

0 comments on commit 1e82565

Please sign in to comment.