Skip to content

Commit

Permalink
Fix for github action
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Feb 24, 2020
1 parent 0c165ad commit a716092
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wemake_python_styleguide/visitors/ast/imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ def _check_protected_import_from_members(
def _check_vague_alias(self, node: ast.ImportFrom) -> None:
for alias in node.names:
for name in filter(None, (alias.name, alias.asname)):
is_regular_import = (
(alias.asname and name != alias.asname) or
is_regular_import = ( # TODO: remove noqa after 0.14 release
(alias.asname and name != alias.asname) or # noqa: WPS332
not imports.is_vague_import(name)
)

Expand Down

0 comments on commit a716092

Please sign in to comment.