Skip to content

Commit

Permalink
Fixes example in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Oct 18, 2018
1 parent ba6b5d1 commit 2b0b55b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions wemake_python_styleguide/violations/best_practices.py
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,13 @@ class ReassigningVariableToItselfViolation(ASTViolation):
Example::
# Correct:
some = some + 1
x_coord, y_coord = y_coord, x_coord
# Wrong:
some = some
x_coord, y_coord = x_coord, y_coord
Note:
Returns Z438 as error code
Expand Down

0 comments on commit 2b0b55b

Please sign in to comment.