1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

Add 'make lint' option.

This commit is contained in:
William Ting 2017-05-31 22:50:32 -07:00
parent f59e398c48
commit d5a4fd270d

View File

@ -13,6 +13,10 @@ docs:
pandoc -s -w man docs/manpage_header.md docs/header.md docs/body.md -o docs/autojump.1
pandoc -s -w markdown docs/header.md docs/install.md docs/body.md -o README.md
.PHONY: lint
lint: pre-commit
@tox -e pre-commit -- run --all-files
pre-commit:
@tox -e pre-commit -- install -f --install-hooks