Fix unit tests #178
Annotations
3 errors and 8 warnings
|
lint
Process completed with exit code 2.
|
|
lint
1 error
|
|
lint:
tests/unit/searchcommands/test_decorators.py#L385
Argument of type "str | Unknown | None" cannot be assigned to parameter "s" of type "str" in function "encode_basestring_ascii"
Type "str | Unknown | None" is not assignable to type "str"
"None" is not assignable to "str" (reportArgumentType)
|
|
lint:
splunklib/searchcommands/validators.py#L247
Argument type is unknown
Argument corresponds to parameter "s" in function "encode_basestring_ascii" (reportUnknownArgumentType)
|
|
lint:
splunklib/searchcommands/validators.py#L204
Argument type is unknown
Argument corresponds to parameter "s" in function "encode_basestring_ascii" (reportUnknownArgumentType)
|
|
lint:
splunklib/searchcommands/search_command.py#L1092
Type of "value" is unknown (reportUnknownVariableType)
|
|
lint:
splunklib/searchcommands/search_command.py#L1092
Type of "name" is unknown (reportUnknownVariableType)
|
|
lint:
splunklib/searchcommands/search_command.py#L1092
Argument type is unknown
Argument corresponds to parameter "object" in function "__new__" (reportUnknownArgumentType)
|
|
lint:
splunklib/searchcommands/search_command.py#L286
Argument type is partially unknown
Argument corresponds to parameter "s" in function "encode_basestring_ascii"
Argument type is "Unknown | str" (reportUnknownArgumentType)
|
|
lint:
splunklib/searchcommands/internals.py#L785
Type of "body" is unknown (reportUnknownVariableType)
|
|
lint:
splunklib/searchcommands/decorators.py#L385
Argument type is partially unknown
Argument corresponds to parameter "s" in function "encode_basestring_ascii"
Argument type is "str | Unknown" (reportUnknownArgumentType)
|