Skip to content

Commit

Permalink
Follow linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dokzai committed Sep 16, 2023
1 parent f07d506 commit b116728
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion slither/detectors/naming_convention/naming_convention.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ def _detect(self) -> List[Output]:

else:
if var.visibility in ["private", "internal"]:
correct_naming = self.is_mixed_case_with_underscore(var.name) or self.is_state_naming(var.name)
correct_naming = self.is_mixed_case_with_underscore(
var.name
) or self.is_state_naming(var.name)

if not correct_naming and var.is_immutable:
correct_naming = self.is_immutable_naming(var.name)
Expand Down

0 comments on commit b116728

Please sign in to comment.