Skip to content

build: find Python syntax errors in dependencies

Rodrigo Muino Tomonari requested to merge flake8-the-entire-repo into master

As discussed in https://github.com/nodejs/node/issues/30129#issuecomment-546662351, when we vendor in code, we own the Syntax Errors in that code. This PR adds a Travis CI test run that looks for syntax errors and undefined names in the Python code of our vendored dependencies. The .flake8 config file at the root of this repo puts blinders on the linting of our dependencies so this test disables that file before starting the linting.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading