Skip to content

👷 🚨 Fix linter workflow #686

👷 🚨 Fix linter workflow

👷 🚨 Fix linter workflow #686

Triggered via push April 20, 2024 13:28
Status Success
Total duration 1m 48s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
Lint Code
Process completed with exit code 2.
Lint Code: hibiapi/__main__.py#L93
Argument of type "type[str] | type[None]" cannot be assigned to parameter "template" of type "type[_T@get]" in function "get"   Type "UnionType" cannot be assigned to type "type[_T@get]" (reportArgumentType)
Lint Code: hibiapi/utils/config.py#L27
Method "get" overrides class "ConfigView" in an incompatible manner   No overload signature in override is compatible with base method (reportIncompatibleMethodOverride)
Lint Code: hibiapi/utils/config.py#L27
Expression of type "Any" cannot be assigned to parameter of type "type[_T@get]" (reportArgumentType)
Lint Code: hibiapi/utils/config.py#L33
Method "as_str_seq" overrides class "ConfigView" in an incompatible manner   Parameter 2 type mismatch: base parameter is type "bool", override parameter is type "str"     "bool" is incompatible with "str" (reportIncompatibleMethodOverride)
Lint Code: hibiapi/utils/log.py#L13
Argument of type "type[Path] | type[None]" cannot be assigned to parameter "template" of type "type[_T@get]" in function "get"   Type "UnionType" cannot be assigned to type "type[_T@get]" (reportArgumentType)
Lint Code
5 errors
CodeQL Analyze
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: github/codeql-action/init@v2, github/codeql-action/autobuild@v2, github/codeql-action/analyze@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
CodeQL Analyze
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/