mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
Use only pre-commit's flake8.
This commit is contained in:
parent
a9c892f713
commit
e57956cc1c
@ -15,7 +15,11 @@
|
||||
- id: end-of-file-fixer
|
||||
- id: fix-encoding-pragma
|
||||
- id: flake8
|
||||
args: [--ignore=E731]
|
||||
args:
|
||||
- --ignore=E126
|
||||
- --ignore=E128
|
||||
- --ignore=E402
|
||||
- --ignore=E731
|
||||
- id: requirements-txt-fixer
|
||||
- id: trailing-whitespace
|
||||
- repo: git@github.com:asottile/reorder_python_imports.git
|
||||
|
6
Makefile
6
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user