Skip to content

Commit ec1b504

Browse files
committed
Builds with flake8 instead of pep8/pyflakes
1 parent 93aa824 commit ec1b504

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ before_install:
1010
install:
1111
- pip install -r requirements-test.txt
1212
script:
13-
- make test
13+
- find . -type f -name \*.py -exec flake8 {} \;
14+
- python setup.py test

Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
.phony: test
22

33
test:
4-
find . | grep '\.py$$' | xargs pep8
5-
find . | grep '\.py$$' | xargs pyflakes
4+
find . -type f -name \*.py -exec flake8 {} \;
65
nosetests -v goftests
76
@echo '------------'
87
@echo 'PASSED TESTS'

requirements-test.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
-r requirements.txt
2-
pep8
3-
pyflakes
42
nose
3+
flake8

0 commit comments

Comments
 (0)