Skip to content

Commit

Permalink
build: updated lint/fix/format steps in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Mar 11, 2023
1 parent fc83616 commit b4f1faf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,14 @@ typecheck:

PYFILES=aw_client/*.py examples/*.py

lint:
ruff check .

lint-fix:
pyupgrade --py37-plus ${PYFILES}
pyupgrade --py38-plus ${PYFILES} --exit-zero-even-if-changed
ruff check --fix .

format:
black .

clean:
Expand Down

0 comments on commit b4f1faf

Please sign in to comment.