Skip to content

Logging fix

Logging fix #63

Triggered via push September 6, 2024 16:38
Status Failure
Total duration 41s
Artifacts

build.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Build: optimus/prometheus.py#L23
By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
Build: optimus/dns/parser/parse.py#L37
Argument 4 to "DNSPacket" has incompatible type "list[NS]"; expected "Optional[list[Union[NS, SOA]]]" [arg-type]
Build: optimus/dns/parser/parse.py#L37
"List" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
Build: optimus/dns/parser/parse.py#L37
Consider using "Sequence" instead, which is covariant
Build: optimus/dns/parser/parse.py#L211
Argument 1 to "append" of "list" has incompatible type "Union[Record, OptPseudoRR]"; expected "Record" [arg-type]
Build: optimus/dns/parser/parse.py#L217
Argument 1 to "append" of "list" has incompatible type "Union[Record, OptPseudoRR]"; expected "Union[A, AAAA, NS]" [arg-type]
Build: optimus/dns/parser/parse.py#L223
Argument 1 to "append" of "list" has incompatible type "Union[Record, OptPseudoRR]"; expected "Record" [arg-type]
Build: optimus/dns/parser/parse.py#L224
Incompatible return value type (got "list[Record]", expected "list[NS]") [return-value]
Build: optimus/dns/resolver.py#L53
Argument 1 to "filter" has incompatible type "Callable[[Any], bool]"; expected "Callable[[Union[NS, SOA]], TypeGuard[NS]]" [arg-type]
Build: optimus/dns/resolver.py#L59
Item "NS" of "Union[A, AAAA, NS]" has no attribute "address" [union-attr]