Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 25, 2023
1 parent c7242da commit 9dd98a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/data/messages/u/unnecessary-pass/bad.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
class DataEntryError(Exception):
"""This exception is raised when a user has provided incorrect data."""

pass # [unnecessary-pass]
2 changes: 1 addition & 1 deletion pylint/checkers/base/pass_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class PassChecker(_BasicChecker):
"Unnecessary pass statement",
"unnecessary-pass",
'Used when a "pass" statement can be removed without affecting '
'the behaviour of the code.',
"the behaviour of the code.",
)
}

Expand Down

0 comments on commit 9dd98a6

Please sign in to comment.