Skip to content

Draft: Update the Plane class (step 2) #606

Draft: Update the Plane class (step 2)

Draft: Update the Plane class (step 2) #606

Triggered via push October 4, 2023 15:02
Status Success
Total duration 26m 18s
Artifacts 5
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

CI_master.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 12 warnings
Lint / Lint
Process completed with exit code 1.
Lint / Lint: src/Mod/Draft/importSVG.py#L76
Using variable 'open' before assignment (used-before-assignment)
Lint / Lint: src/Mod/Draft/importSVG.py#L780
Using variable 'inks_doc_name' before assignment (used-before-assignment)
Lint / Lint: src/Mod/Draft/importSVG.py#L959
Instance of 'svgHandler' has no 'doc' member (no-member)
Lint / Lint: src/Mod/Draft/importSVG.py#L1125
Value 'lastpole' is unsubscriptable (unsubscriptable-object)
Lint / Lint: src/Mod/Draft/importSVG.py#L1126
Value 'lastpole' is unsubscriptable (unsubscriptable-object)
Lint / Lint: src/Mod/Draft/importSVG.py#L1182
Value 'lastpole' is unsubscriptable (unsubscriptable-object)
Lint / Lint: src/Mod/Draft/importSVG.py#L1183
Value 'lastpole' is unsubscriptable (unsubscriptable-object)
Lint / Lint: src/Mod/Draft/importSVG.py#L1233
Instance of 'svgHandler' has no 'doc' member (no-member)
Lint / Lint: src/Mod/Draft/importSVG.py#L1252
Instance of 'svgHandler' has no 'doc' member (no-member)
Lint / Lint: src/Mod/Draft/importSVG.py#L1351
Instance of 'svgHandler' has no 'doc' member (no-member)
Lint / Lint: src/Mod/Draft/WorkingPlane.py#L1
would reformat src/Mod/Draft/WorkingPlane.py
Lint / Lint: src/Mod/Draft/importSVG.py#L1
would reformat src/Mod/Draft/importSVG.py
Lint / Lint: src/Mod/Draft/WorkingPlane.py#L218
Redefining name 'plane' from outer scope (line 1132) (redefined-outer-name)
Lint / Lint: src/Mod/Draft/WorkingPlane.py#L503
Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
Lint / Lint: src/Mod/Draft/WorkingPlane.py#L525
Use a generator instead 'all(ang % 90 == 0 for ang in ypr)' (use-a-generator)
Lint / Lint: src/Mod/Draft/WorkingPlane.py#L584
Use a generator instead 'all(ang % 45 == 0 for ang in ypr)' (use-a-generator)
Lint / Lint: src/Mod/Draft/WorkingPlane.py#L57
Too many public methods (21/20) (too-many-public-methods)
Lint / Lint: src/Mod/Draft/WorkingPlane.py#L630
Too many arguments (6/5) (too-many-arguments)
Lint / Lint: src/Mod/Draft/WorkingPlane.py#L649
Unused argument 'direction' (unused-argument)
Lint / Lint: src/Mod/Draft/WorkingPlane.py#L675
Unused argument 'shape' (unused-argument)
Lint / Lint: src/Mod/Draft/WorkingPlane.py#L675
Unused argument 'offset' (unused-argument)
Lint / Lint: src/Mod/Draft/WorkingPlane.py#L743
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)

Artifacts

Produced during runtime
Name Size
Lint-6407858536-Logs Expired
38 KB
Prepare-6407858536-Logs Expired
45.2 KB
Ubuntu_20-04-6407858536-Logs Expired
1.36 MB
Ubuntu_22-04-6407858536-Logs Expired
1.37 MB
Windows-6407858536-Logs Expired
12.9 MB