mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-14 00:14:46 +00:00
Add pep8-naming to flake8 linting
This commit is contained in:
parent
a3a2539a23
commit
c60546e896
5 changed files with 13 additions and 12 deletions
|
|
@ -24,7 +24,7 @@ def test_to_optparse():
|
|||
|
||||
|
||||
@mock.patch('optparse.Option')
|
||||
def test_to_optparse_creates_an_option_as_we_expect(Option):
|
||||
def test_to_optparse_creates_an_option_as_we_expect(Option): # noqa: N803
|
||||
"""Show that we pass all keyword args to optparse.Option."""
|
||||
opt = manager.Option('-t', '--test', action='count')
|
||||
opt.to_optparse()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue