Merge branch 'FreeCAD:main' into main #44
Annotations
3 errors and 30 warnings
Codespell
Process completed with exit code 1.
|
Check for trailing whitespaces
Process completed with exit code 1.
|
Cpplint
Process completed with exit code 1.
|
Codespell:
src/App/MeasureManagerPy.xml#L18
accross ==> across
|
Check for trailing whitespaces:
src/Mod/CAM/libarea/CMakeLists.txt#L1
# Turn compiler warnings on for gcc <-- trailing whitespace
|
Check for trailing whitespaces:
src/Mod/Part/App/MeasureClient.cpp#L342
// TODO: Center of Mass might not lie on the surface, somehow snap to the closest point on the surface? <-- trailing whitespace
|
Check for trailing whitespaces:
src/Mod/Part/App/MeasureClient.cpp#L364
TopoDS_Vertex vertex = TopoDS::Vertex(shape); <-- trailing whitespace
|
Check for trailing whitespaces:
src/Mod/Part/App/MeasureClient.cpp#L389
<-- trailing whitespace
|
Check for trailing whitespaces:
src/Mod/Part/App/MeasureClient.cpp#L393
<-- trailing whitespace
|
Cpplint:
src/Mod/Part/App/TopoShape.cpp#L1946
Missing space around colon in range-based for loop [whitespace/forcolon] [2]
|
Cpplint:
src/Mod/Sketcher/Gui/DrawSketchHandler.cpp#L1168
Never use sprintf. Use snprintf instead. [runtime/printf] [5]
|
Cpplint:
src/Mod/Sketcher/Gui/DrawSketchHandler.cpp#L1183
Never use sprintf. Use snprintf instead. [runtime/printf] [5]
|
Cpplint:
src/Mod/Sketcher/Gui/DrawSketchHandler.cpp#L1199
Never use sprintf. Use snprintf instead. [runtime/printf] [5]
|
Clazy:
src/Mod/Part/App/TopoShape.cpp#L195
non-POD static (LogLevel) [-Wclazy-non-pod-global-static]
|
Clazy
note: expanded from macro 'FC_LOG_LEVEL_INIT'
|
Clazy
note: expanded from macro '_FC_LOG_LEVEL_INIT'
|
Clazy:
src/Mod/Part/App/TopoShape.cpp#L413
non-POD static (array) [-Wclazy-non-pod-global-static]
|
Clazy:
src/Mod/PartDesign/App/FeatureExtrude.cpp#L46
non-POD static (LogLevel) [-Wclazy-non-pod-global-static]
|
Clazy
note: expanded from macro 'FC_LOG_LEVEL_INIT'
|
Clazy
note: expanded from macro '_FC_LOG_LEVEL_INIT'
|
Clazy:
src/Mod/PartDesign/App/FeatureSketchBased.cpp#L65
non-POD static (LogLevel) [-Wclazy-non-pod-global-static]
|
Clazy
note: expanded from macro 'FC_LOG_LEVEL_INIT'
|
Clazy
note: expanded from macro '_FC_LOG_LEVEL_INIT'
|
Clang-tidy:
src/App/MeasureManagerPyImp.cpp#L27
suspicious #include of file with '.cpp' extension [bugprone-suspicious-include]
|
Clang-tidy
note: did you mean to include 'MeasureManagerPy.h'?
|
Clang-tidy:
src/App/MeasureManagerPyImp.cpp#L34
method 'representation' can be made static [readability-convert-member-functions-to-static]
|
Clang-tidy:
src/App/MeasureManagerPyImp.cpp#L39
method 'getCustomAttributes' can be made static [readability-convert-member-functions-to-static]
|
Clang-tidy:
src/App/MeasureManagerPyImp.cpp#L44
method 'setCustomAttributes' can be made static [readability-convert-member-functions-to-static]
|
Clang-tidy:
src/App/MeasureManagerPyImp.cpp#L53
multiple declarations in a single statement reduces readability [readability-isolate-declaration]
|
Clang-tidy:
src/App/MeasureManagerPyImp.cpp#L53
variable 'id' is not initialized [cppcoreguidelines-init-variables]
|
Clang-tidy:
src/App/MeasureManagerPyImp.cpp#L53
variable 'label' is not initialized [cppcoreguidelines-init-variables]
|
Clang-tidy:
src/App/MeasureManagerPyImp.cpp#L55
do not call c-style vararg functions [cppcoreguidelines-pro-type-vararg]
|
Clang-tidy:
src/App/MeasureManagerPyImp.cpp#L55
implicit conversion 'int' -> bool [readability-implicit-bool-conversion]
|
Loading