Skip to content

Commit

Permalink
🔧 suggestion: Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Shion1305 committed Jan 27, 2024
1 parent 40018b7 commit a405d19
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.PHONY: lint
lint:
flake8 ./ --exclude .venv,*_pb2.py --max-line-length=150 --ignore=F403,F405,F541

.PHONY: format
format:
autopep8 --in-place --aggressive --aggressive --recursive ./ --exclude .venv,*_pb2.py --max-line-length=150
autoflake --in-place --recursive --remove-all-unused-imports --remove-unused-variables ./ --exclude .venv

0 comments on commit a405d19

Please sign in to comment.