Skip to content

ViewProviderAnnotation: Use the label as transformation handle #76

ViewProviderAnnotation: Use the label as transformation handle

ViewProviderAnnotation: Use the label as transformation handle #76

Triggered via push December 3, 2023 13:28
Status Success
Total duration 30m 39s
Artifacts 5

CI_master.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 42 warnings
Lint / Lint
Process completed with exit code 1.
Lint / Lint
Process completed with exit code 1.
Lint / Lint: src/Mod/Draft/draftutils/utils.py#L381
bad operand type for unary -: NoneType (invalid-unary-operand-type)
Lint / Lint
Process completed with exit code 1.
Lint / Lint
Process completed with exit code 1.
Lint / Lint: src/Mod/TechDraw/Gui/DlgPrefsTechDrawAnnotationImp.cpp#L37
'ui_DlgPrefsTechDrawAnnotation.h' file not found [clang-diagnostic-error]
Lint / Lint
Process completed with exit code 1.
WrapUp / WrapUp
$GITHUB_STEP_SUMMARY upload aborted, supports content up to a size of 1024k, got 6471k. For more information see: https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-markdown-summary
Lint / Lint: src/Mod/Draft/draftutils/gui_utils.py#L371
overide ==> override
Lint / Lint: src/Mod/Draft/draftutils/gui_utils.py#L376
overide ==> override
Lint / Lint: src/Mod/Draft/draftutils/gui_utils.py#L380
overide ==> override
Lint / Lint: src/Mod/Draft/draftutils/gui_utils.py#L390
overide ==> override
Lint / Lint: src/Mod/Draft/draftutils/gui_utils.py#L393
overide ==> override
Lint / Lint: src/Mod/Draft/draftguitools/gui_styles.py#L1
would reformat src/Mod/Draft/draftguitools/gui_styles.py
Lint / Lint: src/Mod/Draft/Draft.py#L1
would reformat src/Mod/Draft/Draft.py
Lint / Lint: src/Mod/Draft/draftutils/gui_utils.py#L1
would reformat src/Mod/Draft/draftutils/gui_utils.py
Lint / Lint: src/Mod/Draft/draftguitools/gui_setstyle.py#L1
would reformat src/Mod/Draft/draftguitools/gui_setstyle.py
Lint / Lint: src/Mod/Draft/draftutils/utils.py#L1
would reformat src/Mod/Draft/draftutils/utils.py
Lint / Lint: src/Mod/Draft/Draft.py#L41
Statement seems to have no effect (pointless-statement)
Lint / Lint: src/Mod/Draft/Draft.py#L41
The if expression can be replaced with 'bool(test)' (simplifiable-if-expression)
Lint / Lint: src/Mod/Draft/Draft.py#L53
Import "from draftutils.utils import ARROW_TYPES as arrowtypes" should be placed at the top of the module (wrong-import-position)
Lint / Lint: src/Mod/Draft/Draft.py#L55
Import "from draftutils.utils import type_check, typecheck, get_param_type, getParamType, get_param, getParam, set_param, setParam, precision, tolerance" should be placed at the top of the module (wrong-import-position)
Lint / Lint: src/Mod/Draft/Draft.py#L66
Import "from draftutils.utils import get_real_name, getRealName, get_type, getType, get_objects_of_type, getObjectsOfType, is_clone, isClone, get_clone_base, getCloneBase, print_shape, printShape, compare_objects, compareObjects, shapify, filter_objects_for_modifiers, filterObjectsForModifiers, is_closed_edge, isClosedEdge" should be placed at the top of the module (wrong-import-position)
Lint / Lint: src/Mod/Draft/Draft.py#L86
Import "from draftutils.utils import string_encode_coin, stringencodecoin, load_svg_patterns, loadSvgPatterns, svg_patterns, svgpatterns, get_rgb, getrgb, argb_to_rgba, rgba_to_argb, get_rgba_tuple" should be placed at the top of the module (wrong-import-position)
Lint / Lint: src/Mod/Draft/Draft.py#L98
Import "from draftfunctions.svg import get_svg, getSVG" should be placed at the top of the module (wrong-import-position)
Lint / Lint: src/Mod/Draft/Draft.py#L101
Import "from draftfunctions.dxf import get_dxf, getDXF" should be placed at the top of the module (wrong-import-position)
Lint / Lint: src/Mod/Draft/Draft.py#L104
Import "from draftutils.gui_utils import get3DView, get_3d_view, autogroup, removeHidden, remove_hidden, get_diffuse_color, apply_current_style, formatObject, format_object, getSelection, get_selection, getSelectionEx, get_selection_ex, select, loadTexture, load_texture, get_bbox" should be placed at the top of the module (wrong-import-position)
Lint / Lint: src/Mod/Draft/Draft.py#L122
Import "from draftutils.gui_utils import dim_symbol, dimSymbol, dim_dash, dimDash" should be placed at the top of the module (wrong-import-position)
Lint / Lint: src/Mod/TechDraw/App/Geometry.cpp#L125
Missing space around colon in range-based for loop [whitespace/forcolon] [2]
Lint / Lint: src/Mod/TechDraw/App/Geometry.cpp#L1008
Missing space around colon in range-based for loop [whitespace/forcolon] [2]
Lint / Lint: src/Mod/TechDraw/App/Geometry.cpp#L1025
Missing space around colon in range-based for loop [whitespace/forcolon] [2]
Lint / Lint: src/Mod/TechDraw/App/Geometry.cpp#L1550
Missing space around colon in range-based for loop [whitespace/forcolon] [2]
Lint / Lint: src/Mod/TechDraw/Gui/CommandExtensionPack.cpp#L162
Multi-line string ("...") found. This lint script doesn't do well with such strings, and may give bogus warnings. Use C++11 raw strings or concatenation instead. [readability/multiline_string] [5]
Lint / Lint: src/Mod/TechDraw/Gui/CommandExtensionPack.cpp#L164
Use operator || instead of or [readability/alt_tokens] [2]
Lint / Lint: src/Mod/TechDraw/Gui/CommandExtensionPack.cpp#L165
Multi-line string ("...") found. This lint script doesn't do well with such strings, and may give bogus warnings. Use C++11 raw strings or concatenation instead. [readability/multiline_string] [5]
Lint / Lint: src/Mod/TechDraw/Gui/CommandExtensionPack.cpp#L236
Multi-line string ("...") found. This lint script doesn't do well with such strings, and may give bogus warnings. Use C++11 raw strings or concatenation instead. [readability/multiline_string] [5]
Lint / Lint: src/Mod/TechDraw/Gui/CommandExtensionPack.cpp#L236
Use operator && instead of and [readability/alt_tokens] [2]
Lint / Lint: src/Mod/TechDraw/Gui/CommandExtensionPack.cpp#L238
Use operator || instead of or [readability/alt_tokens] [2]
Lint / Lint
fatal error: 'ui_DlgPrefsTechDrawAnnotation.h' file not found
Lint / Lint: src/Mod/TechDraw/Gui/QGIFace.h#L48
non-POD static (basic_string) [-Wclazy-non-pod-global-static]
Lint / Lint: src/Gui/ViewProviderAnnotation.cpp#L63
do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,modernize-avoid-c-arrays]
Lint / Lint: src/Gui/ViewProviderAnnotation.cpp#L63
variable 'JustificationEnums' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]
Lint / Lint: src/Gui/ViewProviderAnnotation.cpp#L64
do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,modernize-avoid-c-arrays]
Lint / Lint: src/Gui/ViewProviderAnnotation.cpp#L64
variable 'RotationAxisEnums' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]
Lint / Lint: src/Gui/ViewProviderAnnotation.cpp#L66
variable 'classTypeId' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]
Lint / Lint
note: expanded from macro 'PROPERTY_SOURCE'
Lint / Lint
note: expanded from macro '\TYPESYSTEM_SOURCE_P'
Lint / Lint: src/Gui/ViewProviderAnnotation.cpp#L66
variable 'propertyData' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]
Lint / Lint
note: expanded from macro 'PROPERTY_SOURCE'
Lint / Lint: src/Gui/ViewProviderAnnotation.cpp#L72
4294967295UL is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]

Artifacts

Produced during runtime
Name Size
Lint-7077191157-Logs Expired
682 KB
Prepare-7077191157-Logs Expired
99 KB
Ubuntu_20-04-7077191157-Logs Expired
3.1 MB
Ubuntu_22-04-7077191157-Logs Expired
10.9 MB
Windows-7077191157-Logs Expired
15.5 MB