Skip to content

Commit

Permalink
fix(docs): copypaste in WalrusViolation (#2548)
Browse files Browse the repository at this point in the history
Co-authored-by: Vladimir Kurilin <kurilin@tochka.com>
  • Loading branch information
vkurilin and Vladimir Kurilin committed Nov 28, 2022
1 parent 3adbdbe commit 8b820db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wemake_python_styleguide/violations/consistency.py
Original file line number Diff line number Diff line change
Expand Up @@ -1351,7 +1351,7 @@ def some_function():
@final
class WalrusViolation(ASTViolation):
"""
Forbid local variable that are only used in ``return`` statements.
Forbid walrus operator.
This violation can only be thrown on ``python3.8+``.
Expand Down

0 comments on commit 8b820db

Please sign in to comment.