Skip to content

Commit

Permalink
Remove unused noqa (#3235)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Dec 27, 2024
1 parent b252227 commit bca0a14
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ def factory(**kwargs):


@pytest.fixture(scope='session')
def default_options(options): # noqa: WPS442
def default_options(options):
"""Returns the default options."""
return options()
2 changes: 1 addition & 1 deletion tests/test_checker/test_presets.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def all_visitors():
return set(visitors)


def test_all_visitors_contained_in_checker(all_visitors): # noqa: WPS442
def test_all_visitors_contained_in_checker(all_visitors):
"""Ensures that all visitors are contained in a checker."""
checker_visitors = {
klass.__qualname__
Expand Down
2 changes: 1 addition & 1 deletion wemake_python_styleguide/logic/tokens/newlines.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ def next_meaningful_token(
# Because we test all the possibilities here.
return next( # pragma: no cover
tokens[index]
for index in range(token_position + 1, len(tokens)) # noqa: WPS518
for index in range(token_position + 1, len(tokens))
if tokens[index].exact_type not in NEWLINES
)

0 comments on commit bca0a14

Please sign in to comment.