Skip to content

Commit 56fd127

Browse files
cclaussBethGriggs
cclauss
authored andcommitted
test: do not lint macros files (again)
PR-URL: #24886 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent bc71e9e commit 56fd127

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

src/notrace_macros.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# This file is used by tools/js2c.py to preprocess out the DTRACE symbols in
22
# builds that don't support DTrace. This is not used in builds that support
33
# DTrace.
4+
5+
# flake8: noqa
6+
47
macro DTRACE_HTTP_CLIENT_REQUEST(x) = ;
58
macro DTRACE_HTTP_CLIENT_RESPONSE(x) = ;
69
macro DTRACE_HTTP_SERVER_REQUEST(x) = ;

tools/dcheck_macros.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# flake8: noqa
2+
13
macro DCHECK(x) = do { if (!(x)) (process._rawDebug("DCHECK: x == true"), process.abort()) } while (0);
24
macro DCHECK_EQ(a, b) = DCHECK((a) === (b));
35
macro DCHECK_GE(a, b) = DCHECK((a) >= (b));

tools/nodcheck_macros.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# flake8: noqa
2+
13
macro DCHECK(x) = void(x);
24
macro DCHECK_EQ(a, b) = void(a, b);
35
macro DCHECK_GE(a, b) = void(a, b);

0 commit comments

Comments
 (0)