tools: python: update flake8 rules · nodejs/node@0befda6 (original) (raw)

57 files changed

lines changed

Lines changed: 2 additions & 2 deletions

Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
1 1 [flake8]
2 -exclude=.git,deps,lib,src,test/fixtures,tools/*_macros.py,tools/gyp,tools/inspector_protocol,tools/jinja2,tools/markupsafe,tools/pip,tools/v8_gypfiles/broken
3 -select=E901,E999,F821,F822,F823
2 +exclude=.git,deps,lib,src,tools/gyp,tools/inspector_protocol,tools/pip,tools/v8_gypfiles/broken
3 +select=E9,F82

Lines changed: 4 additions & 4 deletions

Original file line number Diff line number Diff line change
@@ -805,20 +805,20 @@
805 805 'inputs': [
806 806 '<@(library_files)',
807 807 'config.gypi',
808 -'tools/check_macros.py'
808 +'tools/js2c_macros/check_macros.py'
809 809 ],
810 810 'outputs': [
811 811 '<(SHARED_INTERMEDIATE_DIR)/node_javascript.cc',
812 812 ],
813 813 'conditions': [
814 814 [ 'node_use_dtrace=="false" and node_use_etw=="false"', {
815 -'inputs': [ 'src/notrace_macros.py' ]
815 +'inputs': [ 'tools/js2c_macros/notrace_macros.py' ]
816 816 }],
817 817 [ 'node_debug_lib=="false"', {
818 -'inputs': [ 'tools/nodcheck_macros.py' ]
818 +'inputs': [ 'tools/js2c_macros/nodcheck_macros.py' ]
819 819 }],
820 820 [ 'node_debug_lib=="true"', {
821 -'inputs': [ 'tools/dcheck_macros.py' ]
821 +'inputs': [ 'tools/js2c_macros/dcheck_macros.py' ]
822 822 }]
823 823 ],
824 824 'action': [

Lines changed: 1 addition & 1 deletion

Original file line number Diff line number Diff line change
@@ -97,7 +97,7 @@
97 97 'action': [
98 98 'python',
99 99 'tools/inspector_protocol/code_generator.py',
100 -'--jinja_dir', '<@(protocol_tool_path)/..',
100 +'--jinja_dir', '<@(protocol_tool_path)',
101 101 '--output_base', '<(SHARED_INTERMEDIATE_DIR)/src/',
102 102 '--config', 'src/inspector/node_protocol_config.json',
103 103 ],

Lines changed: 1 addition & 0 deletions

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1 +*.py

Lines changed: 0 additions & 3 deletions

Lines changed: 0 additions & 3 deletions

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

Lines changed: 1 addition & 0 deletions

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
1 +# flake8: noqa
1 2 macro CHECK(x) = do { if (!(x)) (process._rawDebug("CHECK: x == true"), process.abort()) } while (0);
2 3 macro CHECK_EQ(a, b) = CHECK((a) === (b));
3 4 macro CHECK_GE(a, b) = CHECK((a) >= (b));

File renamed without changes.

File renamed without changes.

File renamed without changes.