fix dataclasses.field(init=...) parameter - should be a bool (mypy lint)
This commit is contained in:
parent
7082eeeda7
commit
fa2bec5299
@ -17,7 +17,7 @@ from . import cptypes
|
|||||||
class MetricPrinter:
|
class MetricPrinter:
|
||||||
args: CliArguments
|
args: CliArguments
|
||||||
now: int | None = None
|
now: int | None = None
|
||||||
_known_names: set[str] = dataclasses.field(default_factory=set, init=None)
|
_known_names: set[str] = dataclasses.field(default_factory=set, init=False)
|
||||||
_now_str: str = dataclasses.field(init=False)
|
_now_str: str = dataclasses.field(init=False)
|
||||||
_label_str: str = dataclasses.field(init=False)
|
_label_str: str = dataclasses.field(init=False)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user