Skip to content

Commit bca0a14

Browse files
authored
Remove unused noqa (#3235)
1 parent b252227 commit bca0a14

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ def factory(**kwargs):
4444

4545

4646
@pytest.fixture(scope='session')
47-
def default_options(options): # noqa: WPS442
47+
def default_options(options):
4848
"""Returns the default options."""
4949
return options()

tests/test_checker/test_presets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def all_visitors():
6060
return set(visitors)
6161

6262

63-
def test_all_visitors_contained_in_checker(all_visitors): # noqa: WPS442
63+
def test_all_visitors_contained_in_checker(all_visitors):
6464
"""Ensures that all visitors are contained in a checker."""
6565
checker_visitors = {
6666
klass.__qualname__

wemake_python_styleguide/logic/tokens/newlines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ def next_meaningful_token(
2020
# Because we test all the possibilities here.
2121
return next( # pragma: no cover
2222
tokens[index]
23-
for index in range(token_position + 1, len(tokens)) # noqa: WPS518
23+
for index in range(token_position + 1, len(tokens))
2424
if tokens[index].exact_type not in NEWLINES
2525
)

0 commit comments

Comments
 (0)