mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
Upgrade pylint (#2917)
depot_tools is removing pylint from its distribution so we must maintain our own copy.
This commit is contained in:
parent
ad11f2ad6a
commit
82dc1b8e59
14 changed files with 94 additions and 86 deletions
|
@ -3,11 +3,11 @@
|
|||
# This script contains helper functions to work with the third_party subrepo.
|
||||
|
||||
import os
|
||||
from os import path
|
||||
import site
|
||||
import sys
|
||||
from os import path
|
||||
from util import add_env_path, find_exts, make_env, rmtree, root_path, run
|
||||
from tempfile import mkdtemp
|
||||
from util import add_env_path, find_exts, make_env, rmtree, root_path, run
|
||||
|
||||
|
||||
# Helper function that returns the full path to a subpath of the repo root.
|
||||
|
@ -129,6 +129,13 @@ def run_pip():
|
|||
],
|
||||
cwd=third_party_path,
|
||||
merge_env=pip_env)
|
||||
|
||||
run([
|
||||
sys.executable, "-m", "pip", "install", "--upgrade", "--target",
|
||||
python_packages_path, "pylint==1.5.6"
|
||||
],
|
||||
cwd=third_party_path,
|
||||
merge_env=pip_env)
|
||||
# Remove the temporary pip installation.
|
||||
rmtree(temp_python_home)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue