From 0c39290201a81dc1e9acb65cae477e67f8cde919 Mon Sep 17 00:00:00 2001 From: cclauss Date: Tue, 24 Jul 2018 02:00:13 -0400 Subject: build: add lint-py which uses flake8 PR-URL: https://github.com/nodejs/node/pull/21952 Reviewed-By: Refael Ackermann --- tools/pip/.gitignore | 2 ++ tools/pip/sitecustomize.py | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 tools/pip/.gitignore create mode 100644 tools/pip/sitecustomize.py (limited to 'tools/pip') diff --git a/tools/pip/.gitignore b/tools/pip/.gitignore new file mode 100644 index 0000000000..03eb26e013 --- /dev/null +++ b/tools/pip/.gitignore @@ -0,0 +1,2 @@ +*.pyc +site-packages \ No newline at end of file diff --git a/tools/pip/sitecustomize.py b/tools/pip/sitecustomize.py new file mode 100644 index 0000000000..aa8087c898 --- /dev/null +++ b/tools/pip/sitecustomize.py @@ -0,0 +1,3 @@ +import os +import site +site.addsitedir(os.path.dirname(os.path.realpath(__file__)) + '/site-packages') -- cgit v1.2.3