CAM: Linting Path/Post/Processor.py #280
Annotations
5 errors and 12 warnings
Black (Python)
Process completed with exit code 1.
|
Pylint:
src/Mod/CAM/Path/Post/Processor.py#L139
Module 'Path' has no 'Command' member (no-member)
|
Pylint:
src/Mod/CAM/Path/Post/Processor.py#L140
Module 'Path' has no 'Path' member (no-member)
|
Pylint:
src/Mod/CAM/Path/Post/Processor.py#L145
Module 'Path' has no 'Command' member (no-member)
|
Pylint
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Black (Python):
src/Mod/CAM/Path/Post/Processor.py#L1
would reformat src/Mod/CAM/Path/Post/Processor.py
|
Pylint:
src/Mod/CAM/Path/Post/Processor.py#L45
Too few public methods (0/1) (too-few-public-methods)
|
Pylint:
src/Mod/CAM/Path/Post/Processor.py#L56
Missing function or method docstring (missing-function-docstring)
|
Pylint:
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)
|
Pylint:
src/Mod/CAM/Path/Post/Processor.py#L61
Unused variable 'syspath' (unused-variable)
|
Pylint:
src/Mod/CAM/Path/Post/Processor.py#L126
Too many local variables (18/15) (too-many-locals)
|
Pylint:
src/Mod/CAM/Path/Post/Processor.py#L126
Too many branches (25/12) (too-many-branches)
|
Pylint:
src/Mod/CAM/Path/Post/Processor.py#L126
Too many statements (85/50) (too-many-statements)
|
Pylint:
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)
|
Pylint:
src/Mod/CAM/Path/Post/Processor.py#L316
Unused variable 'idx' (unused-variable)
|
Pylint:
src/Mod/CAM/Path/Post/Processor.py#L25
Unused QtCore imported from PySide (unused-import)
|
Loading