From f0df7474168e3b028a54518e88b8f1a7e91aaf01 Mon Sep 17 00:00:00 2001 From: cclauss Date: Fri, 7 Dec 2018 07:38:20 +0100 Subject: [PATCH] test: do not lint macros files (again) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/24886 Reviewed-By: Rich Trott Reviewed-By: Michaƫl Zasso --- src/notrace_macros.py | 3 +++ tools/dcheck_macros.py | 2 ++ tools/nodcheck_macros.py | 2 ++ 3 files changed, 7 insertions(+) diff --git a/src/notrace_macros.py b/src/notrace_macros.py index e49dd350d1db23..334f9c0c7f7a87 100644 --- a/src/notrace_macros.py +++ b/src/notrace_macros.py @@ -1,6 +1,9 @@ # This file is used by tools/js2c.py to preprocess out the DTRACE symbols in # builds that don't support DTrace. This is not used in builds that support # DTrace. + +# flake8: noqa + macro DTRACE_HTTP_CLIENT_REQUEST(x) = ; macro DTRACE_HTTP_CLIENT_RESPONSE(x) = ; macro DTRACE_HTTP_SERVER_REQUEST(x) = ; diff --git a/tools/dcheck_macros.py b/tools/dcheck_macros.py index acc68fadb01abe..f22c08598fd694 100644 --- a/tools/dcheck_macros.py +++ b/tools/dcheck_macros.py @@ -1,3 +1,5 @@ +# flake8: noqa + macro DCHECK(x) = do { if (!(x)) (process._rawDebug("DCHECK: x == true"), process.abort()) } while (0); macro DCHECK_EQ(a, b) = DCHECK((a) === (b)); macro DCHECK_GE(a, b) = DCHECK((a) >= (b)); diff --git a/tools/nodcheck_macros.py b/tools/nodcheck_macros.py index 7bd2f209f511fc..0a59001b549fe5 100644 --- a/tools/nodcheck_macros.py +++ b/tools/nodcheck_macros.py @@ -1,3 +1,5 @@ +# flake8: noqa + macro DCHECK(x) = void(x); macro DCHECK_EQ(a, b) = void(a, b); macro DCHECK_GE(a, b) = void(a, b);