[pre-commit.ci] auto fixes from pre-commit.com hooks #1194
Annotations
25 errors and 23 warnings
Codespell
Process completed with exit code 2.
|
Black (Python)
Process completed with exit code 2.
|
Pylint
Process completed with exit code 2.
|
Check old Qt string-based connections (https://wiki.qt.io/New_Signal_Slot_Syntax)
Process completed with exit code 1.
|
Cpplint
Process completed with exit code 2.
|
Clazy:
src/Gui/CallTips.h#L88
no type named 'String' in namespace 'Py'; did you mean 'QString'?
|
Clazy:
src/Gui/CommandActionPy.h#L54
unknown type name 'Command'
|
Clazy:
src/Gui/DAGView/DAGModel.h#L103
no type named 'Property' in namespace 'App'
|
Clazy:
src/Gui/DlgCustomizeSpaceball.h#L73
use of undeclared identifier 'ParameterGrp'
|
Clazy
static_cast from 'QObject *' to 'Gui::MDIView *', which are not related by inheritance, is not allowed
|
Clazy:
src/Gui/NotificationArea.h#L76
use of undeclared identifier 'App'
|
Clazy:
src/Gui/NotificationBox.h#L83
unknown type name 'QPoint'
|
Clazy:
src/Gui/NotificationBox.h#L84
unknown type name 'QString'
|
Clazy:
src/Gui/NotificationBox.h#L85
unknown type name 'QWidget'
|
Clazy:
src/Gui/NotificationBox.h#L98
unknown type name 'QString'
|
Clang-tidy:
src/App/Application.cpp#L134
'Build/Version.h' file not found [clang-diagnostic-error]
|
Clang-tidy:
src/Gui/3Dconnexion/GuiAbstractNativeEvent.cpp#L39
'3Dconnexion/moc_GuiAbstractNativeEvent.cpp' file not found [clang-diagnostic-error]
|
Clang-tidy:
src/Gui/3Dconnexion/GuiNativeEventLinux.cpp#L88
'3Dconnexion/moc_GuiNativeEventLinux.cpp' file not found [clang-diagnostic-error]
|
Clang-tidy:
src/Gui/3Dconnexion/GuiNativeEventLinuxX11.cpp#L33
'QX11Info' file not found [clang-diagnostic-error]
|
Clang-tidy:
src/Gui/3Dconnexion/GuiNativeEventMac.h#L30
'IOKit/IOKitLib.h' file not found [clang-diagnostic-error]
|
Clang-tidy:
src/Gui/3Dconnexion/GuiNativeEventWin32.h#L32
'Windows.h' file not found [clang-diagnostic-error]
|
Clang-tidy:
src/Gui/Action.cpp#L1393
'moc_Action.cpp' file not found [clang-diagnostic-error]
|
Clang-tidy:
src/Gui/ActionFunction.cpp#L189
'moc_ActionFunction.cpp' file not found [clang-diagnostic-error]
|
Clang-tidy:
src/Gui/Application.cpp#L76
'GuiInitScript.h' file not found [clang-diagnostic-error]
|
Clang-tidy:
src/Gui/Assistant.cpp#L193
'moc_Assistant.cpp' file not found [clang-diagnostic-error]
|
Check old Qt string-based connections (https://wiki.qt.io/New_Signal_Slot_Syntax):
src/Gui/3Dconnexion/GuiNativeEventLinux.cpp#L60
connect(SpacenavNotifier, SIGNAL(activated(int)), this, SLOT(pollSpacenav())); <--Consider using Functor-Based Connections
|
Check old Qt string-based connections (https://wiki.qt.io/New_Signal_Slot_Syntax):
src/Gui/Application.cpp#L2299
QTimer::singleShot(0, &mw, SLOT(delayedStartup())); <--Consider using Functor-Based Connections
|
Check old Qt string-based connections (https://wiki.qt.io/New_Signal_Slot_Syntax):
src/Gui/DAGView/DAGModel.cpp#L1116
SLOT(editingStartSlot())); // const hack. <--Consider using Functor-Based Connections
|
Clazy:
build/_deps/fmt-src/include/fmt/core.h#L971
fmt::detail::iterator_buffer has dtor but not copy-ctor, copy-assignment [-Wclazy-rule-of-three]
|
Clazy:
build/_deps/fmt-src/include/fmt/core.h#L1002
fmt::detail::iterator_buffer has dtor but not copy-ctor, copy-assignment [-Wclazy-rule-of-three]
|
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]
|
Clang-tidy:
build/src/Gui/AxisOriginPy.h#L65
function 'Gui::AxisOriginPy::setAxisLength' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name]
|
Clang-tidy:
build/src/Gui/AxisOriginPy.h#L73
function 'Gui::AxisOriginPy::setLineWidth' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name]
|
Clang-tidy:
build/src/Gui/AxisOriginPy.h#L81
function 'Gui::AxisOriginPy::setPointSize' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name]
|
Clang-tidy:
build/src/Gui/AxisOriginPy.h#L89
function 'Gui::AxisOriginPy::setScale' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name]
|
Clang-tidy:
build/src/Gui/AxisOriginPy.h#L97
function 'Gui::AxisOriginPy::setPlane' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name]
|
Clang-tidy:
build/src/Gui/AxisOriginPy.h#L105
function 'Gui::AxisOriginPy::setLabels' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name]
|
Clang-tidy:
build/src/Gui/LinkViewPy.h#L118
function 'Gui::LinkViewPy::setOwner' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name]
|
Clang-tidy:
build/src/Gui/LinkViewPy.h#L126
function 'Gui::LinkViewPy::setVisibilities' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name]
|
Clang-tidy:
build/src/Gui/LinkViewPy.h#L134
function 'Gui::LinkViewPy::setCount' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name]
|
Clang-tidy:
src/App/Application.cpp#L183
do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,modernize-avoid-c-arrays]
|
Loading