Skip to content

Commit 11f7716

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b189f14 commit 11f7716

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

code_data/_blocks.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ def bytes_to_blocks(
7272
found_constants.found_index(0)
7373

7474
for opcode, arg, n_args, offset, next_offset in _parse_bytes(b):
75-
7675
# Compute the jump targets, initially with just the byte offset
7776
# Once we know all the block targets, we will transform to be block offsets
7877
processed_arg = to_arg(
@@ -187,7 +186,6 @@ def blocks_to_bytes(
187186

188187
# Iterate through all blocks and change jump instructions to offsets
189188
while changed_instruction_lengths:
190-
191189
current_instruction_offset = 0
192190
# First go through and update all the instruction blocks
193191
for block_index, block in enumerate(blocks):

code_data/_code_data.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323

2424

2525
def to_code_data(code: CodeType) -> CodeData:
26-
2726
if sys.version_info >= (3, 8):
2827
posonlyargcount = code.co_posonlyargcount
2928
else:

code_data/_normalize.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010

1111
def normalize(x: T) -> T:
12-
1312
if isinstance(x, CodeData):
1413
return cast(
1514
T,

0 commit comments

Comments
 (0)