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 Mar 25, 2023
1 parent e09fabd commit 36da654
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pylint/checkers/variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -694,9 +694,7 @@ def get_next_to_consume(self, node: nodes.Name) -> list[nodes.NodeNG] | None:
return found_nodes

@staticmethod
def _inferred_to_define_name_raise_or_return(
name: str, node: nodes.NodeNG
) -> bool:
def _inferred_to_define_name_raise_or_return(name: str, node: nodes.NodeNG) -> bool:
"""Return True if there is a collectively exhaustive set of paths under
this `if_node` that define `name`, raise, or return.
"""
Expand Down

0 comments on commit 36da654

Please sign in to comment.