Skip to content

[Mesh Python] Mesh.show() returns python object, update documentation… #1685

[Mesh Python] Mesh.show() returns python object, update documentation…

[Mesh Python] Mesh.show() returns python object, update documentation… #1685

Triggered via push February 3, 2025 17:31
Status Success
Total duration 2h 36m 44s
Artifacts 8

CI_master.yml

on: push
Prepare  /  Prepare
7s
Prepare / Prepare
Matrix: Pixi / build_with_pixi
WrapUp  /  WrapUp
3s
WrapUp / WrapUp
Fit to window
Zoom out
Zoom in

Annotations

1 error and 57 warnings
Lint / Lint
Process completed with exit code 1.
Lint / Lint: src/Mod/Mesh/App/AppMeshPy.cpp#L51
Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
Lint / Lint: src/Mod/Mesh/App/AppMeshPy.cpp#L52
Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
Lint / Lint: src/Mod/Mesh/App/AppMeshPy.cpp#L495
Using deprecated casting style. Use static_cast<float>(...) instead [readability/casting] [4]
Lint / Lint: src/Mod/Mesh/App/AppMeshPy.cpp#L534
Using deprecated casting style. Use static_cast<float>(...) instead [readability/casting] [4]
Lint / Lint: src/Mod/Mesh/App/AppMeshPy.cpp#L278
Add #include <string> for string [build/include_what_you_use] [4]
Lint / Lint: src/Mod/Mesh/App/AppMeshPy.cpp#L581
Add #include <vector> for vector<> [build/include_what_you_use] [4]
Lint / Lint: src/Mod/Part/App/AppPartPy.cpp#L118
Is this a non-const reference? If so, make const or use a pointer: std::vector<TopoShape>& shapes [runtime/references] [2]
Lint / Lint: src/Mod/Part/App/AppPartPy.cpp#L166
Is this a non-const reference? If so, make const or use a pointer: std::list<TopoDS_Edge>& edges [runtime/references] [2]
Lint / Lint: src/Mod/Part/App/AppPartPy.cpp#L250
Namespace should be terminated with "// namespace Part" [readability/namespace] [5]
Lint / Lint: src/Mod/Part/App/AppPartPy.cpp#L896
Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
Lint / Lint: build/_deps/fmt-src/include/fmt/core.h#L2095
Returning a void expression [-Wclazy-returning-void-expression]
Lint / Lint: build/_deps/fmt-src/include/fmt/core.h#L2197
fmt::detail::specs_setter has copy-ctor but not dtor, copy-assignment [-Wclazy-rule-of-three]
Lint / Lint: build/_deps/fmt-src/include/fmt/core.h#L2233
fmt::detail::dynamic_specs_handler has copy-ctor but not dtor, copy-assignment [-Wclazy-rule-of-three]
Lint / Lint: build/_deps/fmt-src/include/fmt/core.h#L3126
Pass small and trivially-copyable type by value (const signed char &) [-Wclazy-function-args-by-value]
Lint / Lint: build/_deps/fmt-src/include/fmt/core.h#L3127
Pass small and trivially-copyable type by value (const unsigned char &) [-Wclazy-function-args-by-value]
Lint / Lint: build/_deps/fmt-src/include/fmt/core.h#L3128
Pass small and trivially-copyable type by value (const short &) [-Wclazy-function-args-by-value]
Lint / Lint: build/_deps/fmt-src/include/fmt/core.h#L3129
Pass small and trivially-copyable type by value (const unsigned short &) [-Wclazy-function-args-by-value]
Lint / Lint: build/_deps/fmt-src/include/fmt/core.h#L3130
Pass small and trivially-copyable type by value (const long &) [-Wclazy-function-args-by-value]
Lint / Lint: build/_deps/fmt-src/include/fmt/core.h#L3131
Pass small and trivially-copyable type by value (const unsigned long &) [-Wclazy-function-args-by-value]
Lint / Lint: build/_deps/fmt-src/include/fmt/core.h#L3134
Pass small and trivially-copyable type by value (const std::nullptr_t &) [-Wclazy-function-args-by-value]
Lint / Lint: src/Mod/Mesh/App/AppMeshPy.cpp#L143
do not call c-style vararg functions [cppcoreguidelines-pro-type-vararg]
Lint / Lint: src/Mod/Mesh/App/AppMeshPy.cpp#L143
implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
Lint / Lint: src/Mod/Mesh/App/AppMeshPy.cpp#L156
do not call c-style vararg functions [cppcoreguidelines-pro-type-vararg]
Lint / Lint: src/Mod/Mesh/App/AppMeshPy.cpp#L156
implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
Lint / Lint: src/Mod/Mesh/App/AppMeshPy.cpp#L175
do not call c-style vararg functions [cppcoreguidelines-pro-type-vararg]
Lint / Lint: src/Mod/Mesh/App/AppMeshPy.cpp#L175
implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
Lint / Lint: src/Mod/Mesh/App/AppMeshPy.cpp#L209
0.1F is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]
Lint / Lint: src/Mod/Mesh/App/AppMeshPy.cpp#L211
implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion]
Lint / Lint: src/Mod/Mesh/App/AppMeshPy.cpp#L220
do not call c-style vararg functions [cppcoreguidelines-pro-type-vararg]
Lint / Lint: src/Mod/Mesh/App/AppMeshPy.cpp#L285
narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions]
Pixi / build_with_pixi (macos-latest): src/3rdParty/libE57Format/src/SourceDestBufferImpl.cpp#L491
implicit conversion from 'const int64_t' (aka 'const long long') to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
Pixi / build_with_pixi (macos-latest): src/3rdParty/libE57Format/src/SourceDestBufferImpl.cpp#L203
implicit conversion from 'const int32_t' (aka 'const int') to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
Pixi / build_with_pixi (macos-latest): src/3rdParty/libE57Format/src/SourceDestBufferImpl.cpp#L215
implicit conversion from 'const uint32_t' (aka 'const unsigned int') to 'float' changes value from 4294967295 to 4294967296 [-Wimplicit-const-int-float-conversion]
Pixi / build_with_pixi (macos-latest): src/3rdParty/libE57Format/src/SourceDestBufferImpl.cpp#L227
implicit conversion from 'const int64_t' (aka 'const long long') to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
Pixi / build_with_pixi (macos-latest): src/3rdParty/libE57Format/src/SourceDestBufferImpl.cpp#L227
implicit conversion from 'const int64_t' (aka 'const long long') to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
Pixi / build_with_pixi (macos-latest): src/3rdParty/OndselSolver/OndselSolver/FunctionX.cpp#L90
variable 'answer' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
Pixi / build_with_pixi (ubuntu-latest): src/CXX/Python3/Objects.hxx#L1787
'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
Pixi / build_with_pixi (ubuntu-latest): src/CXX/Python3/Objects.hxx#L1788
'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
Pixi / build_with_pixi (ubuntu-latest): src/CXX/Python3/Objects.hxx#L1983
'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
Pixi / build_with_pixi (ubuntu-latest): src/CXX/Python3/Objects.hxx#L2029
'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
Pixi / build_with_pixi (ubuntu-latest): src/CXX/Python3/Objects.hxx#L1992
'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
Pixi / build_with_pixi (ubuntu-latest): src/CXX/Python3/Objects.hxx#L2014
'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
Ubuntu_20-04 / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Ubuntu_20-04 / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Pixi / build_with_pixi (windows-latest)
No files were found with the provided path: D:\a\FreeCAD\FreeCAD/logs/ /var/crash/*FreeCAD*. No artifacts will be uploaded.
Pixi / build_with_pixi (windows-latest)
'=': conversion from 'size_t' to '_Ty', possible loss of data
Pixi / build_with_pixi (windows-latest)
No files were found with the provided path: D:\a\FreeCAD\FreeCAD/report/Pixi-13119305184-windows-latest-report.md. No artifacts will be uploaded.
Windows / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Windows / Build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.

Artifacts

Produced during runtime
Name Size
Lint-13119305184-Logs
52.9 KB
Pixi-13119305184-macos-latest-Logs
45.7 KB
Pixi-13119305184-macos-latest-report.md
406 Bytes
Pixi-13119305184-ubuntu-latest-Logs
45.9 KB
Pixi-13119305184-ubuntu-latest-report.md
593 Bytes
Prepare-13119305184-Logs
3.08 KB
Ubuntu_20-04-13119305184-Logs
180 KB
Windows-13119305184-Logs
2.43 MB