Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
BergLucas committed Dec 12, 2024
1 parent 3da6525 commit 4d74309
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/pynguin/instrumentation/instrumentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,8 @@ def _instrument_bool_based_conditional_jump(
ArtificialInstr("DUP_TOP", lineno=lineno),
ArtificialInstr(
"LOAD_CONST",
self._instrumentation_tracer,
lineno=lineno, # type: ignore[arg-type]
self._instrumentation_tracer, # type: ignore[arg-type]
lineno=lineno,
),
ArtificialInstr(
"LOAD_METHOD",
Expand Down Expand Up @@ -565,8 +565,8 @@ def _instrument_compare_based_conditional_jump(
ArtificialInstr("DUP_TOP_TWO", lineno=lineno),
ArtificialInstr(
"LOAD_CONST",
self._instrumentation_tracer,
lineno=lineno, # type: ignore[arg-type]
self._instrumentation_tracer, # type: ignore[arg-type]
lineno=lineno,
),
ArtificialInstr(
"LOAD_METHOD",
Expand Down Expand Up @@ -615,8 +615,8 @@ def _instrument_exception_based_conditional_jump(
ArtificialInstr("DUP_TOP_TWO", lineno=lineno),
ArtificialInstr(
"LOAD_CONST",
self._instrumentation_tracer,
lineno=lineno, # type: ignore[arg-type]
self._instrumentation_tracer, # type: ignore[arg-type]
lineno=lineno,
),
ArtificialInstr(
"LOAD_METHOD",
Expand Down Expand Up @@ -651,8 +651,8 @@ def visit_entry_node(self, basic_block: BasicBlock, code_object_id: int) -> None
basic_block[0:0] = [
ArtificialInstr(
"LOAD_CONST",
self._instrumentation_tracer,
lineno=lineno, # type: ignore[arg-type]
self._instrumentation_tracer, # type: ignore[arg-type]
lineno=lineno,
),
ArtificialInstr(
"LOAD_METHOD",
Expand Down Expand Up @@ -728,8 +728,8 @@ def _instrument_for_loop(
entered.extend([
ArtificialInstr(
"LOAD_CONST",
self._instrumentation_tracer,
lineno=lineno, # type: ignore[arg-type]
self._instrumentation_tracer, # type: ignore[arg-type]
lineno=lineno,
),
ArtificialInstr(
"LOAD_METHOD",
Expand All @@ -752,8 +752,8 @@ def _instrument_for_loop(
not_entered.extend([
ArtificialInstr(
"LOAD_CONST",
self._instrumentation_tracer,
lineno=lineno, # type: ignore[arg-type]
self._instrumentation_tracer, # type: ignore[arg-type]
lineno=lineno,
),
ArtificialInstr(
"LOAD_METHOD",
Expand Down Expand Up @@ -834,8 +834,8 @@ def instrument_line(
inserted_instructions = [
ArtificialInstr(
"LOAD_CONST",
self._instrumentation_tracer,
lineno=lineno, # type: ignore[arg-type]
self._instrumentation_tracer, # type: ignore[arg-type]
lineno=lineno,
),
ArtificialInstr(
"LOAD_METHOD",
Expand Down

0 comments on commit 4d74309

Please sign in to comment.