diff --git a/.ruff.toml b/.ruff.toml index f4e6f67..0d99995 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -112,6 +112,9 @@ extend-select = [ # flake8-datetimez "DTZ", + + # Refurb + "FURB", ] extend-ignore = [ diff --git a/Makefile b/Makefile index 41d8d80..0cf8577 100644 --- a/Makefile +++ b/Makefile @@ -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: