Skip to content

Commit 57de8e4

Browse files
committed
gui: silence misc-include-cleaner in pythonCmdInputWidget.cpp
Signed-off-by: Matt Liberty <[email protected]>
1 parent 864a6e4 commit 57de8e4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/gui/src/pythonCmdInputWidget.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
3131
// POSSIBILITY OF SUCH DAMAGE.
3232

33+
// Clang-tidy doesn't understand that Python.h is a super-header and you should
34+
// not include sub-headers.
35+
// NOLINTBEGIN(misc-include-cleaner)
36+
3337
// clang-format off
3438
// Python.h must come first to avoid conflict with Qt
3539
#define PY_SSIZE_T_CLEAN
@@ -350,3 +354,5 @@ void PythonCmdInputWidget::init()
350354
}
351355

352356
} // namespace gui
357+
358+
// NOLINTEND(misc-include-cleaner)

0 commit comments

Comments
 (0)