Skip to content

Commit 414b563

Browse files
Merge pull request #783 from adamtheturtle/better-lint
Simplify Makefile
2 parents 90af0bd + c395e71 commit 414b563

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

Makefile

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,20 @@ SHELL := /bin/bash -euxo pipefail
33
.PHONY: lint
44
lint:
55
check-manifest .
6-
pytest -vvv -x ci/custom_linters.py
76
dodgy
87
flake8 .
98
isort --recursive --check-only
10-
mypy src/ tests/ ci/
9+
mypy src/ tests/
1110
pip-extra-reqs src/
1211
pip-missing-reqs src/
13-
pydocstyle
14-
pylint *.py src tests ci
12+
pydocstyle **
13+
pylint *.py src tests
1514
pyroma --min 10 .
1615
vulture . --min-confidence 100
17-
yapf --diff --recursive src/ tests/ ci/
16+
yapf --diff --recursive src/ tests/
1817

1918
.PHONY: fix-lint
2019
fix-lint:
2120
autoflake --in-place --recursive --remove-all-unused-imports --remove-unused-variables .
2221
yapf --in-place --recursive .
2322
isort --recursive --apply
24-
25-
.PHONY: update-secrets
26-
update-secrets:
27-
tar cvf secrets.tar ci_secrets/
28-
travis encrypt-file secrets.tar --add --force
29-
git add secrets.tar.enc .travis.yml
30-
git commit -m 'Update secret archive [skip ci]'
31-
git push

dev-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
autoflake==1.2
12
check-manifest==0.37
23
dodgy==0.1.9 # Look for uploaded secrets
34
flake8-commas==2.0.0 # Require silicon valley commas

0 commit comments

Comments
 (0)