Skip to content

Commit

Permalink
maintenance: add make lint command
Browse files Browse the repository at this point in the history
Replaces `make format`.
  • Loading branch information
b-kamphorst committed Nov 28, 2022
1 parent e9bc15f commit e9413fd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ help:
@echo ' local-install Install locally'
@echo ' local-uninstall Uninstall locally'
@echo ' update-depends Re-compile requirements for development'
@echo ' format Re-format by isort with setup.cfg'
@echo ' lint Re-lint by black and isort with setup.cfg'
@echo ' test Run unittests'
@echo ' deploy Release to PyPI server'
@echo ' test-deploy Release to Test PyPI server'
Expand All @@ -36,9 +36,10 @@ local-uninstall:
update-depends:
pip-compile -U $(DEV_DEPENDS).in

.PHONY: format
format:
isort piplicenses.py test_piplicenses.py
.PHONY: lint
lint:
black . --line-length=79
isort .

.PHONY: test
test:
Expand Down

0 comments on commit e9413fd

Please sign in to comment.