Skip to content

Commit

Permalink
Add flake8 check to Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
timgraham committed Dec 16, 2016
1 parent b13d6fc commit 5815810
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ python:
services:
- memcached
install: python setup.py install
before_script: pip install nose
script: nosetests
before_script: pip install -r test-requirements.txt
script:
- flake8
- nosetests
1 change: 0 additions & 1 deletion memcache.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
from __future__ import print_function

import binascii
import os
import re
import socket
import sys
Expand Down
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@ release = 1
packager = Sean Reifschneider <[email protected]>
requires = python-memcached

[flake8]
exclude = build
max-line-length = 119

[wheel]
universal = 1

0 comments on commit 5815810

Please sign in to comment.