Skip to content

formatting/ci: Fix formatting using black and fix CI issues #10637

formatting/ci: Fix formatting using black and fix CI issues

formatting/ci: Fix formatting using black and fix CI issues #10637

Triggered via pull request January 28, 2025 09:26
Status Success
Total duration 55s
Artifacts

main.yml

on: pull_request
Matrix: check
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 10 warnings
Lint: kernelci/kbuild.py#L112
Bad except clauses order (RequestException is an ancestor class of Timeout)
Lint: kernelci/kbuild.py#L115
Bad except clauses order (RequestException is an ancestor class of ConnectionError)
Lint: kernelci/kbuild.py#L526
Value 'yml' doesn't support membership test
Lint: kernelci/kbuild.py#L527
Value 'yml' is unsubscriptable
Lint: kernelci/kbuild.py#L957
Instance of 'KBuild' has no 'log' member
Lint: kernelci/api/helper.py#L199
Method could be a function
Lint: kernelci/api/helper.py#L241
Method could be a function
Lint: kernelci/api/latest.py#L133
Number of parameters was 2 in 'Node.update' and is now 3 in overridden 'Node.update' method
Lint: kernelci/kbuild.py#L42
Line too long (143/100)
Lint: kernelci/kbuild.py#L1
Too many lines in module (1084/1000)
Lint: kernelci/kbuild.py#L49
TODO: find a way to automatically fetch this information
Lint: kernelci/kbuild.py#L553
TODO: implement 'path' option properly
Lint: kernelci/kbuild.py#L603
TODO: olddefconfig should be optional/configurable
Lint: kernelci/kbuild.py#L604
TODO: log all warnings/errors of olddefconfig to separate file
Lint: kernelci/kbuild.py#L612
TODO(nuclearcat): Fetch firmware only if needed