mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-14 00:14:46 +00:00
Update hooks and use autopep8 + add-trailing-comma instead of black
This commit is contained in:
parent
23d2a8517e
commit
5fab0d1887
33 changed files with 110 additions and 102 deletions
|
|
@ -169,7 +169,7 @@ def test_load_extra_config_utf8(tmpdir):
|
|||
@pytest.fixture
|
||||
def opt_manager():
|
||||
ret = OptionManager(
|
||||
version="123", plugin_versions="", parents=[], formatter_names=[]
|
||||
version="123", plugin_versions="", parents=[], formatter_names=[],
|
||||
)
|
||||
register_default_options(ret)
|
||||
return ret
|
||||
|
|
@ -213,7 +213,7 @@ def test_parse_config_ignores_unknowns(tmp_path, opt_manager, caplog):
|
|||
"flake8.options.config",
|
||||
10,
|
||||
'Option "wat" is not registered. Ignoring.',
|
||||
)
|
||||
),
|
||||
]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue