Skip to content

Commit 2acc10d

Browse files
committed
Add Flake configuration
Run on CI
1 parent 8789975 commit 2acc10d

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ env:
66
- DJANGO_VERSION=1.8.8
77
- DJANGO_VERSION=1.6.11
88
install:
9+
- pip install flake8
910
- pip install -q Django==$DJANGO_VERSION
1011
- python setup.py install
12+
before_script:
13+
flake8 codespeed
1114
script:
1215
- python setup.py test
1316
- python manage.py test codespeed
14-

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[flake8]
2+
exclude = .git,__pycache__,migrations,south_migrations,static,settings.py,urls.py,views.py
3+
max-line-length = 89

0 commit comments

Comments
 (0)