Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Dec 31, 2023
1 parent 94a562e commit 853f046
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vyper/semantics/analysis/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,5 @@ def validate_modification(self, node: vy_ast.VyperNode, mutability: StateMutabil
if self.modifiability == Modifiability.CONSTANT:
raise ImmutableViolation("Constant value cannot be written to", node)


if isinstance(node, vy_ast.AugAssign):
self.typ.validate_numeric_op(node)

0 comments on commit 853f046

Please sign in to comment.