Skip to content

CAM: Linting Path/Post/Processor.py #280

CAM: Linting Path/Post/Processor.py

CAM: Linting Path/Post/Processor.py #280

Triggered via push December 15, 2024 23:58
Status Failure
Total duration 2h 32m 41s
Artifacts 8

CI_master.yml

on: push
Prepare  /  Prepare
4s
Prepare / Prepare
Matrix: Pixi / build_with_pixi
WrapUp  /  WrapUp
4s
WrapUp / WrapUp
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 43 warnings
Lint / Lint
Process completed with exit code 1.
Lint / Lint: src/Mod/CAM/Path/Post/Processor.py#L139
Module 'Path' has no 'Command' member (no-member)
Lint / Lint: src/Mod/CAM/Path/Post/Processor.py#L140
Module 'Path' has no 'Path' member (no-member)
Lint / Lint: src/Mod/CAM/Path/Post/Processor.py#L145
Module 'Path' has no 'Command' member (no-member)
Lint / Lint
Process completed with exit code 1.
Ubuntu_20-04 / Build
The action has timed out.
Ubuntu_20-04 / Build
The action has timed out.
Prepare / Prepare
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint / Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint / Lint: src/Mod/CAM/Path/Post/Processor.py#L1
would reformat src/Mod/CAM/Path/Post/Processor.py
Lint / Lint: src/Mod/CAM/Path/Post/Processor.py#L45
Too few public methods (0/1) (too-few-public-methods)
Lint / Lint: src/Mod/CAM/Path/Post/Processor.py#L56
Missing function or method docstring (missing-function-docstring)
Lint / Lint: src/Mod/CAM/Path/Post/Processor.py#L56
Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
Lint / Lint: src/Mod/CAM/Path/Post/Processor.py#L61
Unused variable 'syspath' (unused-variable)
Lint / Lint: src/Mod/CAM/Path/Post/Processor.py#L126
Too many local variables (18/15) (too-many-locals)
Lint / Lint: src/Mod/CAM/Path/Post/Processor.py#L126
Too many branches (25/12) (too-many-branches)
Lint / Lint: src/Mod/CAM/Path/Post/Processor.py#L126
Too many statements (85/50) (too-many-statements)
Lint / Lint: src/Mod/CAM/Path/Post/Processor.py#L299
Consider explicitly re-raising using 'raise ImportError(f'Failed to load script: {e}') from e' (raise-missing-from)
Lint / Lint: src/Mod/CAM/Path/Post/Processor.py#L316
Unused variable 'idx' (unused-variable)
Lint / Lint: src/Mod/CAM/Path/Post/Processor.py#L25
Unused QtCore imported from PySide (unused-import)
Pixi / build_with_pixi (macos-latest): src/3rdParty/libE57Format/src/SourceDestBufferImpl.cpp#L491
implicit conversion from 'const int64_t' (aka 'const long long') to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
Pixi / build_with_pixi (macos-latest): src/3rdParty/libE57Format/src/SourceDestBufferImpl.cpp#L203
implicit conversion from 'const int32_t' (aka 'const int') to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
Pixi / build_with_pixi (macos-latest): src/3rdParty/libE57Format/src/SourceDestBufferImpl.cpp#L215
implicit conversion from 'const uint32_t' (aka 'const unsigned int') to 'float' changes value from 4294967295 to 4294967296 [-Wimplicit-const-int-float-conversion]
Pixi / build_with_pixi (macos-latest): src/3rdParty/libE57Format/src/SourceDestBufferImpl.cpp#L227
implicit conversion from 'const int64_t' (aka 'const long long') to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
Pixi / build_with_pixi (macos-latest): src/3rdParty/libE57Format/src/SourceDestBufferImpl.cpp#L227
implicit conversion from 'const int64_t' (aka 'const long long') to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
Pixi / build_with_pixi (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Ubuntu_20-04 / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Pixi / build_with_pixi (windows-latest)
No files were found with the provided path: D:\a\FreeCAD\FreeCAD/logs/ /var/crash/*FreeCAD*. No artifacts will be uploaded.
Pixi / build_with_pixi (windows-latest)
'=': conversion from 'size_t' to '_Ty', possible loss of data
Pixi / build_with_pixi (windows-latest): src/Mod/Measure/Gui/TaskMeasure.cpp#L150
not enough arguments for function-like macro invocation 'QStringLiteral'
Pixi / build_with_pixi (windows-latest): src/Mod/Measure/Gui/TaskMeasure.cpp#L150
not enough arguments for function-like macro invocation 'QT_UNICODE_LITERAL'
Pixi / build_with_pixi (windows-latest)
No files were found with the provided path: D:\a\FreeCAD\FreeCAD/report/Pixi-12343368479-windows-latest-report.md. No artifacts will be uploaded.
Windows / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Windows / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
WrapUp / WrapUp
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
Lint-12343368479-Logs
5.92 KB
Pixi-12343368479-macos-latest-Logs
45.1 KB
Pixi-12343368479-macos-latest-report.md
379 Bytes
Pixi-12343368479-ubuntu-latest-Logs
45.6 KB
Pixi-12343368479-ubuntu-latest-report.md
547 Bytes
Prepare-12343368479-Logs
3.65 KB
Ubuntu_20-04-12343368479-Logs
175 KB
Windows-12343368479-Logs
2.4 MB