mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-11 23:34:17 +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
|
|
@ -36,7 +36,7 @@ def test_handle_error_does_not_raise_type_errors():
|
|||
)
|
||||
|
||||
assert 1 == guide.handle_error(
|
||||
"T111", "file.py", 1, 1, "error found", "a = 1"
|
||||
"T111", "file.py", 1, 1, "error found", "a = 1",
|
||||
)
|
||||
|
||||
|
||||
|
|
@ -110,7 +110,7 @@ def test_style_guide_manager_pre_file_ignores_parsing():
|
|||
],
|
||||
)
|
||||
def test_style_guide_manager_pre_file_ignores(
|
||||
ignores, violation, filename, handle_error_return
|
||||
ignores, violation, filename, handle_error_return,
|
||||
):
|
||||
"""Verify how the StyleGuideManager creates a default style guide."""
|
||||
formatter = mock.create_autospec(base.BaseFormatter, instance=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue