Skip to content

Inspection: apply clang format #186

Inspection: apply clang format

Inspection: apply clang format #186

Triggered via push September 2, 2023 03:11
Status Success
Total duration 1h 16m 14s
Artifacts 5

CI_master.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 40 warnings
Lint / Lint
Process completed with exit code 1.
Lint / Lint
Process completed with exit code 1.
Lint / Lint: src/Mod/Draft/draftgeoutils/geometry.py#L75
Value 'valid' is unsubscriptable (unsubscriptable-object)
Lint / Lint
Process completed with exit code 1.
Lint / Lint
Process completed with exit code 1.
Lint / Lint: src/Mod/Inspection/Gui/VisualInspection.cpp#L38
'ui_VisualInspection.h' file not found [clang-diagnostic-error]
Lint / Lint: src/Mod/Points/Gui/DlgPointsReadImp.cpp#L26
'ui_DlgPointsRead.h' file not found [clang-diagnostic-error]
Lint / Lint: src/Mod/Sketcher/Gui/CommandConstraints.cpp#L52
'ui_InsertDatum.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 1518k. 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/draftguitools/gui_trackers.py#L782
<-- trailing whitespace
Lint / Lint: src/Mod/Draft/DraftGeomUtils.py#L1
would reformat src/Mod/Draft/DraftGeomUtils.py
Lint / Lint: src/Mod/Assembly/Commands.py#L1
would reformat src/Mod/Assembly/Commands.py
Lint / Lint: src/Mod/Draft/draftguitools/gui_mirror.py#L1
would reformat src/Mod/Draft/draftguitools/gui_mirror.py
Lint / Lint: src/Mod/Draft/draftgeoutils/geometry.py#L1
would reformat src/Mod/Draft/draftgeoutils/geometry.py
Lint / Lint: src/Mod/Inspection/InitGui.py#L1
would reformat src/Mod/Inspection/InitGui.py
Lint / Lint: src/Mod/Start/StartPage/StartPage.py#L1
would reformat src/Mod/Start/StartPage/StartPage.py
Lint / Lint: src/Mod/Draft/draftguitools/gui_trackers.py#L1
would reformat src/Mod/Draft/draftguitools/gui_trackers.py
Lint / Lint: src/Mod/Assembly/Commands.py#L213
Line too long (126/100) (line-too-long)
Lint / Lint: src/Mod/Assembly/Commands.py#L230
Line too long (116/100) (line-too-long)
Lint / Lint: src/Mod/Assembly/Commands.py#L1
Missing module docstring (missing-module-docstring)
Lint / Lint: src/Mod/Assembly/Commands.py#L40
Missing function or method docstring (missing-function-docstring)
Lint / Lint: src/Mod/Assembly/Commands.py#L54
Missing function or method docstring (missing-function-docstring)
Lint / Lint: src/Mod/Assembly/Commands.py#L63
Missing class docstring (missing-class-docstring)
Lint / Lint: src/Mod/Assembly/Commands.py#L82
Missing function or method docstring (missing-function-docstring)
Lint / Lint: src/Mod/Assembly/Commands.py#L90
Missing class docstring (missing-class-docstring)
Lint / Lint: src/Mod/Assembly/Commands.py#L94
Missing function or method docstring (missing-function-docstring)
Lint / Lint: src/Mod/Assembly/Commands.py#L112
Missing function or method docstring (missing-function-docstring)
Lint / Lint: src/Mod/Part/App/TopoShape.cpp#L1993
Missing space around colon in range-based for loop [whitespace/forcolon] [2]
Lint / Lint: src/Mod/Sketcher/Gui/CommandConstraints.cpp#L1152
Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
Lint / Lint: src/Gui/Command.cpp#L70
non-POD static (LogLevel) [-Wclazy-non-pod-global-static]
Lint / Lint
note: expanded from macro 'FC_LOG_LEVEL_INIT'
Lint / Lint
note: expanded from macro '_FC_LOG_LEVEL_INIT'
Lint / Lint
fatal error: 'ui_VisualInspection.h' file not found
Lint / Lint: src/Mod/Part/App/TopoShape.cpp#L194
non-POD static (LogLevel) [-Wclazy-non-pod-global-static]
Lint / Lint
note: expanded from macro 'FC_LOG_LEVEL_INIT'
Lint / Lint
note: expanded from macro '_FC_LOG_LEVEL_INIT'
Lint / Lint: src/Mod/Part/App/TopoShape.cpp#L441
non-POD static (array) [-Wclazy-non-pod-global-static]
Lint / Lint
non-POD static (SymbolExpr) [-Wclazy-non-pod-global-static]
Lint / Lint
non-POD static (all_t) [-Wclazy-non-pod-global-static]
Lint / Lint: src/App/PropertyGeo.h#L47
declaration 'Feature' is never referenced, but a declaration with the same name found in another namespace 'Points' [bugprone-forward-declaration-namespace]
Lint / Lint
note: a declaration of 'Feature' is found here
Lint / Lint: src/App/PropertyGeo.h#L47
no definition found for 'Feature', but a definition with the same name 'Feature' found in another namespace 'Inspection' [bugprone-forward-declaration-namespace]
Lint / Lint
note: a definition of 'Feature' is found here
Lint / Lint: src/App/PropertyGeo.h#L47
no definition found for 'Feature', but a definition with the same name 'Feature' found in another namespace 'Points' [bugprone-forward-declaration-namespace]
Lint / Lint
note: a definition of 'Feature' is found here
Lint / Lint: src/App/PropertyStandard.h#L51
class 'PropertyInteger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions]
Lint / Lint: src/App/PropertyStandard.h#L53
variable 'classTypeId' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]
Lint / Lint
note: expanded from macro 'TYPESYSTEM_HEADER_WITH_OVERRIDE'
Lint / Lint: src/App/PropertyStandard.h#L69
all parameters should be named in a function [readability-named-parameter]

Artifacts

Produced during runtime
Name Size
Lint-6056028143-Logs Expired
1.42 MB
Prepare-6056028143-Logs Expired
646 KB
Ubuntu_20-04-6056028143-Logs Expired
1.35 MB
Ubuntu_22-04-6056028143-Logs Expired
1.33 MB
Windows-6056028143-Logs Expired
17.4 MB