Skip to content

Commit

Permalink
fix: Install pip and pip-tools in upgrade script
Browse files Browse the repository at this point in the history
  • Loading branch information
Jawayria authored and UsamaSadiq committed Jun 27, 2022
1 parent 3e7ddff commit 1d68e7d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ build
.coverage
venv/
.vscode/
.idea/
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ upgrade: ## update the requirements/*.txt files with the latest packages satisfy
pip install -q -r requirements/pip_tools.txt
pip-compile --upgrade --allow-unsafe -o requirements/pip.txt requirements/pip.in
pip-compile --upgrade -o requirements/pip_tools.txt requirements/pip_tools.in
pip install -qr requirements/pip.txt
pip install -qr requirements/pip_tools.txt
pip-compile --upgrade -o requirements/base.txt requirements/base.in
pip-compile --upgrade -o requirements/test.txt requirements/test.in
pip-compile --upgrade -o requirements/tox.txt requirements/tox.in
Expand Down
7 changes: 4 additions & 3 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@
# SERIOUSLY.
#
# ------------------------------
# Generated by edx-lint version: 5.2.1
# Generated by edx-lint version: 5.2.4
# ------------------------------
[MASTER]
ignore =
persistent = yes
load-plugins = edx_lint.pylint,pylint_celery
load-plugins = edx_lint.pylint,pylint_django,pylint_celery

[MESSAGES CONTROL]
enable =
Expand Down Expand Up @@ -287,6 +287,7 @@ disable =
illegal-waffle-usage,

logging-fstring-interpolation,
django-not-available,

[REPORTS]
output-format = text
Expand Down Expand Up @@ -383,4 +384,4 @@ int-import-graph =
[EXCEPTIONS]
overgeneral-exceptions = Exception

# 0cfdab5f522ca16c0e457065f6599c832489a460
# fad4071fe38e655a180214bd3f6bce3ffa41b2ed
3 changes: 0 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
envlist = py38,quality

[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
whitelist_externals =
touch
deps =
Expand All @@ -12,10 +11,8 @@ commands =
coverage report

[testenv:quality]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps =
-r requirements/test.txt
commands =
pycodestyle calc symmath tests
pylint calc symmath tests

0 comments on commit 1d68e7d

Please sign in to comment.