We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
CommentPragmas:
1 parent 5062135 commit a1c898fCopy full SHA for a1c898f
.clang-format
@@ -9,6 +9,7 @@ BinPackParameters: false
9
BreakBeforeBinaryOperators: All
10
BreakConstructorInitializers: BeforeColon
11
ColumnLimit: 99
12
+CommentPragmas: 'NOLINT:.*|^ IWYU pragma:'
13
IncludeBlocks: Regroup
14
IndentCaseLabels: true
15
IndentPPDirectives: AfterHash
tests/pybind11_tests.h
@@ -5,8 +5,7 @@
5
6
#if defined(_MSC_VER) && _MSC_VER < 1910
7
// We get some really long type names here which causes MSVC 2015 to emit warnings
8
-# pragma warning( \
- disable : 4503) // warning C4503: decorated name length exceeded, name was truncated
+# pragma warning(disable : 4503) // NOLINT: warning C4503: decorated name length exceeded, name was truncated
#endif
namespace py = pybind11;
0 commit comments