Skip to content

Commit

Permalink
Use dataclasses.field for default_factory
Browse files Browse the repository at this point in the history
  • Loading branch information
singingwolfboy authored and karkhaz committed Apr 3, 2023
1 parent 00e2dda commit 632b58c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ninja.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class Runner:
pipelines: list
ci_stage: str
proc: subprocess.CompletedProcess = None
status_parser: _StatusParser = _StatusParser()
status_parser: _StatusParser = = dataclasses.field(default_factory=_StatusParser)
out_acc: _OutputAccumulator = None


Expand Down

0 comments on commit 632b58c

Please sign in to comment.