mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-07 21:44:18 +00:00
extend black formatting to tests as well
This commit is contained in:
parent
a7174759e9
commit
af1668bf04
45 changed files with 1644 additions and 1307 deletions
|
|
@ -7,21 +7,21 @@ from flake8 import exceptions
|
|||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
'err',
|
||||
"err",
|
||||
(
|
||||
exceptions.FailedToLoadPlugin(
|
||||
plugin_name='plugin_name',
|
||||
exception=ValueError('boom!'),
|
||||
plugin_name="plugin_name",
|
||||
exception=ValueError("boom!"),
|
||||
),
|
||||
exceptions.InvalidSyntax(exception=ValueError('Unexpected token: $')),
|
||||
exceptions.InvalidSyntax(exception=ValueError("Unexpected token: $")),
|
||||
exceptions.PluginRequestedUnknownParameters(
|
||||
plugin={'plugin_name': 'plugin_name'},
|
||||
exception=ValueError('boom!'),
|
||||
plugin={"plugin_name": "plugin_name"},
|
||||
exception=ValueError("boom!"),
|
||||
),
|
||||
exceptions.PluginExecutionFailed(
|
||||
plugin={'plugin_name': 'plugin_name'},
|
||||
exception=ValueError('boom!'),
|
||||
)
|
||||
plugin={"plugin_name": "plugin_name"},
|
||||
exception=ValueError("boom!"),
|
||||
),
|
||||
),
|
||||
)
|
||||
def test_pickleable(err):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue