Skip to content

Refactor and improve code quality #49

Refactor and improve code quality

Refactor and improve code quality #49

Triggered via push August 21, 2024 18:24
Status Failure
Total duration 34s
Artifacts

build.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Build: optimus/dns/dns_parser.py#L243
Argument 1 to "append" of "list" has incompatible type "Union[Record, OptPseudoRR]"; expected "Record" [arg-type]
Build: optimus/dns/dns_parser.py#L249
Argument 1 to "append" of "list" has incompatible type "Union[Record, OptPseudoRR]"; expected "Union[A, AAAA, NS]" [arg-type]
Build: optimus/dns/dns_parser.py#L255
Argument 1 to "append" of "list" has incompatible type "Union[Record, OptPseudoRR]"; expected "Record" [arg-type]
Build: optimus/dns/dns_parser.py#L256
Incompatible return value type (got "list[Record]", expected "list[NS]") [return-value]
Build: optimus/dns/handlers.py#L62
Item "NS" of "Union[A, AAAA, NS]" has no attribute "address" [union-attr]
Build: optimus/dns/handlers.py#L83
"Record" has no attribute "address" [attr-defined]
Build
Process completed with exit code 1.