Run linter with uv run ruff check --fix
#362
Annotations
4 errors and 10 warnings
|
lint
Process completed with exit code 2.
|
|
lint
2 errors
|
|
lint:
splunklib/searchcommands/reporting_command.py#L93
Cannot access attribute "ConfigurationSettings" for class "FunctionType"
Attribute "ConfigurationSettings" is unknown (reportFunctionMemberAccess)
|
|
lint:
splunklib/searchcommands/internals.py#L258
Argument of type "None" cannot be assigned to parameter "dict" of type "dict[str, Any]" in function "__init__"
"None" is not assignable to "dict[str, Any]" (reportArgumentType)
|
|
lint:
splunklib/searchcommands/internals.py#L552
Argument type is unknown
Argument corresponds to parameter "object" in function "__new__" (reportUnknownArgumentType)
|
|
lint:
splunklib/searchcommands/internals.py#L552
Argument type is partially unknown
Argument corresponds to parameter "func" in function "__new__"
Argument type is "(fn: Unknown) -> tuple[str, str]" (reportUnknownArgumentType)
|
|
lint:
splunklib/searchcommands/internals.py#L258
Argument type is unknown
Argument corresponds to parameter "bases" in function "__init__" (reportUnknownArgumentType)
|
|
lint:
splunklib/searchcommands/internals.py#L258
Argument type is unknown
Argument corresponds to parameter "name" in function "__init__" (reportUnknownArgumentType)
|
|
lint:
splunklib/searchcommands/internals.py#L254
Argument type is unknown
Argument corresponds to parameter "bases" in function "__new__" (reportUnknownArgumentType)
|
|
lint:
splunklib/searchcommands/internals.py#L254
Argument type is unknown
Argument corresponds to parameter "object" in function "__new__" (reportUnknownArgumentType)
|
|
lint:
splunklib/searchcommands/external_search_command.py#L58
Return type, "dict[Unknown, Unknown] | None", is partially unknown (reportUnknownVariableType)
|
|
lint:
splunklib/searchcommands/external_search_command.py#L57
Return type, "dict[Unknown, Unknown] | None", is partially unknown (reportUnknownParameterType)
|
|
lint:
splunklib/searchcommands/external_search_command.py#L48
Return type, "list[Unknown] | tuple[Unknown, ...] | str | None", is partially unknown (reportUnknownVariableType)
|
|
lint:
splunklib/searchcommands/external_search_command.py#L47
Return type, "list[Unknown] | tuple[Unknown, ...] | str | None", is partially unknown (reportUnknownParameterType)
|