Skip to content

Commit bb0a82d

Browse files
committed
Use flake8 everywhere
Correct flake8 warnings in setup.py and change Travis CI test to run flake8 on the whole distribution.
1 parent a016ed0 commit bb0a82d

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ install:
99
- pip install . --use-mirrors
1010
- pip install -r tests/requirements.txt --use-mirrors
1111
script:
12-
- flake8 iptools
13-
- flake8 tests
12+
- flake8
1413
- nosetests
1514
notifications:
1615
email:

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ count=1
1212
show-pep8=1
1313
show-source=1
1414
statistics=1
15+
exclude=build,dist,doc,*.egg,*.egg-info

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
if 'nosetests' in sys.argv[1:]:
99
setup_requires.append('nose>=1.0')
1010

11-
tests_require=['nose>=1.0']
11+
tests_require = ['nose>=1.0']
1212

1313
setup(
1414
name='iptools',
@@ -45,13 +45,13 @@
4545
Utilities for manipulating IPv4 and IPv6 addresses including a
4646
class that can be used to include CIDR network blocks in Django's
4747
INTERNAL_IPS setting.
48-
48+
4949
Full documentation at http://python-iptools.readthedocs.org/
5050
""",
5151
zip_safe=False,
5252
extras_require={
53-
'testing':tests_require,
54-
},
53+
'testing': tests_require,
54+
},
5555
)
5656

5757
# vim: set sw=4 ts=4 sts=4 et :

0 commit comments

Comments
 (0)