Merge pull request #212 from pre-commit/no_gpg_moar
Don't gpg sign during test
diff --git a/README.md b/README.md
index efae31c..55b49ff 100644
--- a/README.md
+++ b/README.md
@@ -25,7 +25,8 @@
- `autopep8-wrapper` - Runs autopep8 over python source.
- Ignore PEP 8 violation types with `args: ['-i', '--ignore=E000,...']` or
- through configuration of the `[pep8]` section in setup.cfg / tox.ini.
+ through configuration of the `[pycodestyle]` section in
+ setup.cfg / tox.ini.
- `check-added-large-files` - Prevent giant files from being committed.
- Specify what is "too large" with `args: ['--maxkb=123']` (default=500kB).
- `check-ast` - Simply check whether files parse as valid python.
diff --git a/setup.py b/setup.py
index 701e96a..90ef3c6 100644
--- a/setup.py
+++ b/setup.py
@@ -24,9 +24,9 @@
packages=find_packages(exclude=('tests*', 'testing*')),
install_requires=[
- # quickfix to prevent pep8 conflicts
+ # quickfix to prevent pycodestyle conflicts
'flake8!=2.5.3',
- 'autopep8>=1.1',
+ 'autopep8>=1.3',
'pyyaml',
'simplejson',
'six',
diff --git a/tests/autopep8_wrapper_test.py b/tests/autopep8_wrapper_test.py
index 5eb4df2..780752c 100644
--- a/tests/autopep8_wrapper_test.py
+++ b/tests/autopep8_wrapper_test.py
@@ -23,6 +23,6 @@
def test_respects_config_file(tmpdir):
with tmpdir.as_cwd():
- tmpdir.join('setup.cfg').write('[pep8]\nignore=E221')
+ tmpdir.join('setup.cfg').write('[pycodestyle]\nignore=E221')
tmpdir.join('test.py').write('print(1 + 2)\n')
assert main(['test.py', '-i', '-v']) == 0