Skip to content
Snippets Groups Projects
Unverified Commit 037b09ac authored by Diana Huang's avatar Diana Huang Committed by GitHub
Browse files

Merge pull request #25904 from edx/diana/update-edx-lint

Upgrade python requirements.
parents da318c4d f6085e51
No related branches found
Tags release-2020-12-18-12.59
No related merge requests found
......@@ -137,11 +137,13 @@ def _get_pylint_violations(systems=ALL_SYSTEMS.split(','), errors_only=False, cl
system_report = report_dir / 'pylint.report'
if clean or not system_report.exists():
sh(
"export DJANGO_SETTINGS_MODULE={env}.envs.test; "
"pylint {flags} --output-format=parseable {apps} "
"> {report_dir}/pylint.report".format(
flags=" ".join(flags),
apps=apps_list,
report_dir=report_dir
report_dir=report_dir,
env=('cms' if system == 'cms' else 'lms')
),
ignore_error=True,
)
......
......@@ -20,7 +20,7 @@ matplotlib==2.2.4 # via -c requirements/edx-sandbox/../constraints.txt,
mpmath==1.1.0 # via sympy
networkx==2.2 # via -r requirements/edx-sandbox/py35.in
nltk==3.5 # via -r requirements/edx-sandbox/shared.txt, chem
numpy==1.16.5 # via -c requirements/edx-sandbox/../constraints.txt, -r requirements/edx-sandbox/py35.in, chem, matplotlib, openedx-calc, scipy
numpy==1.16.5 # via -c requirements/edx-sandbox/../constraints.txt, -r requirements/edx-sandbox/py35.in, chem, matplotlib, openedx-calc
openedx-calc==1.0.9 # via -r requirements/edx-sandbox/py35.in
pycparser==2.20 # via -r requirements/edx-sandbox/shared.txt, cffi
pyparsing==2.2.0 # via -r requirements/edx-sandbox/py35.in, chem, matplotlib, openedx-calc
......
......@@ -2,6 +2,6 @@
set -e
export LOWER_PYLINT_THRESHOLD=1000
export UPPER_PYLINT_THRESHOLD=2400
export UPPER_PYLINT_THRESHOLD=7050
export ESLINT_THRESHOLD=5300
export STYLELINT_THRESHOLD=880
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment