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 /src | |
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 'src')
-rw-r--r-- | src/inspector/node_inspector.gypi | 2 | ||||
-rw-r--r-- | src/notrace_macros.py | 12 |
2 files changed, 1 insertions, 13 deletions
diff --git a/src/inspector/node_inspector.gypi b/src/inspector/node_inspector.gypi index 2eabd9dd31..6ec85461dd 100644 --- a/src/inspector/node_inspector.gypi +++ b/src/inspector/node_inspector.gypi @@ -97,7 +97,7 @@ 'action': [ 'python', 'tools/inspector_protocol/code_generator.py', - '--jinja_dir', '<@(protocol_tool_path)/..', + '--jinja_dir', '<@(protocol_tool_path)', '--output_base', '<(SHARED_INTERMEDIATE_DIR)/src/', '--config', 'src/inspector/node_protocol_config.json', ], diff --git a/src/notrace_macros.py b/src/notrace_macros.py deleted file mode 100644 index 334f9c0c7f..0000000000 --- a/src/notrace_macros.py +++ /dev/null @@ -1,12 +0,0 @@ -# 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) = ; -macro DTRACE_HTTP_SERVER_RESPONSE(x) = ; -macro DTRACE_NET_SERVER_CONNECTION(x) = ; -macro DTRACE_NET_STREAM_END(x) = ; |