Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit 13374a8

Browse files
committed
Add linting to Travis.
1 parent 7dcb79f commit 13374a8

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ matrix:
2323

2424
install:
2525
- ".travis/install.sh"
26+
before_script: "flake8 --max-complexity 15 --exclude 'hyper/packages/*' hyper test"
27+
2628
script:
2729
- >
2830
if [[ "$TEST_RELEASE" == true ]]; then

.travis/install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,4 @@ fi
4848

4949
pip install .
5050
pip install -r test_requirements.txt
51+
pip install flake8

0 commit comments

Comments
 (0)