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 Aug 26, 2023
1 parent 6299f98 commit 0647714
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/typeguard/_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ def __post_init__(self) -> None:

# Figure out where to insert instrumentation code
if self.node:
self.code_inject_index = TransformMemo._get_code_inject_index(self.node.body)
self.code_inject_index = TransformMemo._get_code_inject_index(
self.node.body
)

def get_unused_name(self, name: str) -> str:
memo: TransformMemo | None = self
Expand Down

0 comments on commit 0647714

Please sign in to comment.