diff options
author | Donald Stufft <donald@stufft.io> | 2014-03-05 00:32:37 -0500 |
---|---|---|
committer | Donald Stufft <donald@stufft.io> | 2014-03-05 00:32:37 -0500 |
commit | 8760bb0725010783d76b0fa6f6fd28935b1baa4a (patch) | |
tree | be902404d0f8945434d8c409059d5cb1bcd25c01 | |
parent | 2bfc61415fcfb86a72c9552114d2c047080dd314 (diff) | |
parent | 6858cd42e0ceb31d873052eba9f68406cd3aa03a (diff) | |
download | cryptography-8760bb0725010783d76b0fa6f6fd28935b1baa4a.tar.gz cryptography-8760bb0725010783d76b0fa6f6fd28935b1baa4a.tar.bz2 cryptography-8760bb0725010783d76b0fa6f6fd28935b1baa4a.zip |
Merge pull request #729 from alex/install-pep8-naming
Install pep8-naming on travis
-rw-r--r-- | setup.py | 6 | ||||
-rw-r--r-- | tox.ini | 8 |
2 files changed, 9 insertions, 5 deletions
@@ -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,9 +71,9 @@ class CFFIBuild(build): build.finalize_options(self) -class PyTest(TestCommand): +class PyTest(test): def finalize_options(self): - TestCommand.finalize_options(self) + test.finalize_options(self) self.test_args = [] self.test_suite = True @@ -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] |