diff options
author | Refael Ackermann <refack@gmail.com> | 2019-04-11 10:45:01 -0400 |
---|---|---|
committer | Refael Ackermann <refack@gmail.com> | 2019-04-13 20:32:55 -0400 |
commit | 0befda69703e1599ab712d560984c27b251f1c62 (patch) | |
tree | f0ac11079dd7558831fdb77102b4019e4752a903 /tools/js2c_macros/nodcheck_macros.py | |
parent | 914d6c9ab8cd7154c075867f3894bd90b8e252ea (diff) | |
download | android-node-v8-0befda69703e1599ab712d560984c27b251f1c62.tar.gz android-node-v8-0befda69703e1599ab712d560984c27b251f1c62.tar.bz2 android-node-v8-0befda69703e1599ab712d560984c27b251f1c62.zip |
tools: python: update flake8 rules
* Tree-factor location of some *.py files for easy demarcation of
areas to exclude.
PR-URL: https://github.com/nodejs/node/pull/25614
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Diffstat (limited to 'tools/js2c_macros/nodcheck_macros.py')
-rw-r--r-- | tools/js2c_macros/nodcheck_macros.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/js2c_macros/nodcheck_macros.py b/tools/js2c_macros/nodcheck_macros.py new file mode 100644 index 0000000000..0a59001b54 --- /dev/null +++ b/tools/js2c_macros/nodcheck_macros.py @@ -0,0 +1,9 @@ +# flake8: noqa + +macro DCHECK(x) = void(x); +macro DCHECK_EQ(a, b) = void(a, b); +macro DCHECK_GE(a, b) = void(a, b); +macro DCHECK_GT(a, b) = void(a, b); +macro DCHECK_LE(a, b) = void(a, b); +macro DCHECK_LT(a, b) = void(a, b); +macro DCHECK_NE(a, b) = void(a, b); |