[Mesh Python] Mesh.show() returns python object, update documentation… #1685
Annotations
1 error and 30 warnings
Cpplint
Process completed with exit code 1.
|
Cpplint:
src/Mod/Mesh/App/AppMeshPy.cpp#L51
Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
|
Cpplint:
src/Mod/Mesh/App/AppMeshPy.cpp#L52
Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
|
Cpplint:
src/Mod/Mesh/App/AppMeshPy.cpp#L495
Using deprecated casting style. Use static_cast<float>(...) instead [readability/casting] [4]
|
Cpplint:
src/Mod/Mesh/App/AppMeshPy.cpp#L534
Using deprecated casting style. Use static_cast<float>(...) instead [readability/casting] [4]
|
Cpplint:
src/Mod/Mesh/App/AppMeshPy.cpp#L278
Add #include <string> for string [build/include_what_you_use] [4]
|
Cpplint:
src/Mod/Mesh/App/AppMeshPy.cpp#L581
Add #include <vector> for vector<> [build/include_what_you_use] [4]
|
Cpplint:
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]
|
Cpplint:
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]
|
Cpplint:
src/Mod/Part/App/AppPartPy.cpp#L250
Namespace should be terminated with "// namespace Part" [readability/namespace] [5]
|
Cpplint:
src/Mod/Part/App/AppPartPy.cpp#L896
Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
|
Clazy:
build/_deps/fmt-src/include/fmt/core.h#L2095
Returning a void expression [-Wclazy-returning-void-expression]
|
Clazy:
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]
|
Clazy:
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]
|
Clazy:
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]
|
Clazy:
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]
|
Clazy:
build/_deps/fmt-src/include/fmt/core.h#L3128
Pass small and trivially-copyable type by value (const short &) [-Wclazy-function-args-by-value]
|
Clazy:
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]
|
Clazy:
build/_deps/fmt-src/include/fmt/core.h#L3130
Pass small and trivially-copyable type by value (const long &) [-Wclazy-function-args-by-value]
|
Clazy:
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]
|
Clazy:
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]
|
Clang-tidy:
src/Mod/Mesh/App/AppMeshPy.cpp#L143
do not call c-style vararg functions [cppcoreguidelines-pro-type-vararg]
|
Clang-tidy:
src/Mod/Mesh/App/AppMeshPy.cpp#L143
implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
|
Clang-tidy:
src/Mod/Mesh/App/AppMeshPy.cpp#L156
do not call c-style vararg functions [cppcoreguidelines-pro-type-vararg]
|
Clang-tidy:
src/Mod/Mesh/App/AppMeshPy.cpp#L156
implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
|
Clang-tidy:
src/Mod/Mesh/App/AppMeshPy.cpp#L175
do not call c-style vararg functions [cppcoreguidelines-pro-type-vararg]
|
Clang-tidy:
src/Mod/Mesh/App/AppMeshPy.cpp#L175
implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
|
Clang-tidy:
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]
|
Clang-tidy:
src/Mod/Mesh/App/AppMeshPy.cpp#L211
implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion]
|
Clang-tidy:
src/Mod/Mesh/App/AppMeshPy.cpp#L220
do not call c-style vararg functions [cppcoreguidelines-pro-type-vararg]
|
Clang-tidy:
src/Mod/Mesh/App/AppMeshPy.cpp#L285
narrowing conversion from 'double' to 'float' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions]
|
Loading