mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-04 19:26:52 +00:00
Require a newer version of autopep8
This commit is contained in:
parent
c847dd3f2e
commit
ef7c425a3e
3 changed files with 5 additions and 4 deletions
|
|
@ -23,6 +23,6 @@ def test_main_failing(tmpdir, input_src, expected_ret, output_src):
|
|||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue