From 25693231412dafa00bd7c829d7bc9d63fb876130 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Tue, 4 Mar 2014 15:02:33 -0800 Subject: Install pep8-naming on travis --- tox.ini | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index b309f3c0..3ee449f1 100644 --- a/tox.ini +++ b/tox.ini @@ -37,12 +37,16 @@ commands = commands = py.test --capture=no --strict {posargs} [testenv:pep8] -deps = flake8 +deps = + flake8 + pep8-naming commands = flake8 . [testenv:py3pep8] basepython = python3.3 -deps = flake8 +deps = + flake8 + pep8-naming commands = flake8 . [flake8] -- cgit v1.2.3 From acac6a6ed57458adc2ecda36c51382660e5269df Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Tue, 4 Mar 2014 15:24:03 -0800 Subject: Follow the rules --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 681b9031..cfbab310 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ import sys from distutils.command.build import build from setuptools import setup, find_packages -from setuptools.command.test import test as TestCommand +from setuptools.command.test import test base_dir = os.path.dirname(__file__) @@ -71,7 +71,7 @@ class CFFIBuild(build): build.finalize_options(self) -class PyTest(TestCommand): +class PyTest(test): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [] -- cgit v1.2.3 From 6858cd42e0ceb31d873052eba9f68406cd3aa03a Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Tue, 4 Mar 2014 15:33:13 -0800 Subject: The worst. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index cfbab310..238ee9b7 100644 --- a/setup.py +++ b/setup.py @@ -73,7 +73,7 @@ class CFFIBuild(build): class PyTest(test): def finalize_options(self): - TestCommand.finalize_options(self) + test.finalize_options(self) self.test_args = [] self.test_suite = True -- cgit v1.2.3