1
0
mirror of https://github.com/wting/autojump synced 2026-03-02 03:49:26 +00:00

Use only pre-commit's flake8.

This commit is contained in:
William Ting
2016-04-28 23:29:55 -07:00
parent a9c892f713
commit e57956cc1c
3 changed files with 6 additions and 17 deletions

View File

@@ -13,9 +13,6 @@ 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
flake8:
@tox -e flake8
pre-commit:
@tox -e pre-commit -- install -f --install-hooks
@@ -41,10 +38,9 @@ tar:
git archive --format=tar --prefix autojump_v$(VERSION)/ $(TAGNAME) | gzip > autojump_v$(VERSION).tar.gz
sha1sum autojump_v$(VERSION).tar.gz
test: pre-commit lint
test: pre-commit
@find . -type f -iname '*.py[co]' -delete
tox
tox -e flake8
test-fast: pre-commit
@find . -type f -iname '*.py[co]' -delete