Skip to content

Commit 57c7bec

Browse files
committed
No longer install Python linters and formatters
1 parent 2c069d3 commit 57c7bec

File tree

5 files changed

+1
-73
lines changed

5 files changed

+1
-73
lines changed

src/python/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CONFIGURE_JUPYTERLAB_ALLOW_ORIGIN="${CONFIGUREJUPYTERLABALLOWORIGIN:-""}"
2626
# alongside PYTHON_VERSION, but not set as default.
2727
ADDITIONAL_VERSIONS="${ADDITIONALVERSIONS:-""}"
2828

29-
DEFAULT_UTILS=("pylint" "flake8" "autopep8" "black" "yapf" "mypy" "pydocstyle" "pycodestyle" "bandit" "pipenv" "virtualenv" "pytest")
29+
DEFAULT_UTILS=("pipenv" "virtualenv" "pytest")
3030
PYTHON_SOURCE_GPG_KEYS="64E628F8D684696D B26995E310250568 2D347EA6AA65421D FB9921286F5E1540 3A5CA953F73C700D 04C367C218ADD4FF 0EDDC5F26A45C816 6AF053F07D9DC8D2 C9BE28DEE6DF025C 126EB563A74B06BF D9866941EA5BBD71 ED9D77D5"
3131
GPG_KEY_SERVERS="keyserver hkp://keyserver.ubuntu.com
3232
keyserver hkps://keys.openpgp.org

test/python/install_additional_python.sh

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,11 @@ check "python version 3.8 installed" bash -c "ls -l /usr/local/python | grep 3.
1212
check "python version 3.9.13 installed" bash -c "ls -l /usr/local/python | grep 3.9.13"
1313

1414
# Check that tools can execute - make sure something didn't get messed up in this scenario
15-
check "autopep8" autopep8 --version
16-
check "black" black --version
17-
check "yapf" yapf --version
18-
check "bandit" bandit --version
19-
check "flake8" flake8 --version
20-
check "mypy" mypy --version
21-
check "pycodestyle" pycodestyle --version
22-
check "pydocstyle" pydocstyle --version
23-
check "pylint" pylint --version
2415
check "pytest" pytest --version
2516

2617
# Check paths in settings
2718
check "current symlink is correct" bash -c "which python | grep /usr/local/python/current/bin/python"
2819
check "current symlink works" /usr/local/python/current/bin/python --version
29-
check "which autopep8" bash -c "which autopep8 | grep /usr/local/py-utils/bin/autopep8"
30-
check "which black" bash -c "which black | grep /usr/local/py-utils/bin/black"
31-
check "which yapf" bash -c "which yapf | grep /usr/local/py-utils/bin/yapf"
32-
check "which bandit" bash -c "which bandit | grep /usr/local/py-utils/bin/bandit"
33-
check "which flake8" bash -c "which flake8 | grep /usr/local/py-utils/bin/flake8"
34-
check "which mypy" bash -c "which mypy | grep /usr/local/py-utils/bin/mypy"
35-
check "which pycodestyle" bash -c "which pycodestyle | grep /usr/local/py-utils/bin/pycodestyle"
36-
check "which pydocstyle" bash -c "which pydocstyle | grep /usr/local/py-utils/bin/pydocstyle"
37-
check "which pylint" bash -c "which pylint | grep /usr/local/py-utils/bin/pylint"
3820
check "which pytest" bash -c "which pytest | grep /usr/local/py-utils/bin/pytest"
3921

4022
# Report result

test/python/install_os_provided_python.sh

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,29 +11,11 @@ check "pip is installed" pip --version
1111
check "pip is installed" pip3 --version
1212

1313
# Check that tools can execute
14-
check "autopep8" autopep8 --version
15-
check "black" black --version
16-
check "yapf" yapf --version
17-
check "bandit" bandit --version
18-
check "flake8" flake8 --version
19-
check "mypy" mypy --version
20-
check "pycodestyle" pycodestyle --version
21-
check "pydocstyle" pydocstyle --version
22-
check "pylint" pylint --version
2314
check "pytest" pytest --version
2415

2516
# Check paths in settings
2617
check "current symlink is correct" bash -c "which python | grep /usr/local/python/current/bin/python"
2718
check "current symlink works" /usr/local/python/current/bin/python --version
28-
check "which autopep8" bash -c "which autopep8 | grep /usr/local/py-utils/bin/autopep8"
29-
check "which black" bash -c "which black | grep /usr/local/py-utils/bin/black"
30-
check "which yapf" bash -c "which yapf | grep /usr/local/py-utils/bin/yapf"
31-
check "which bandit" bash -c "which bandit | grep /usr/local/py-utils/bin/bandit"
32-
check "which flake8" bash -c "which flake8 | grep /usr/local/py-utils/bin/flake8"
33-
check "which mypy" bash -c "which mypy | grep /usr/local/py-utils/bin/mypy"
34-
check "which pycodestyle" bash -c "which pycodestyle | grep /usr/local/py-utils/bin/pycodestyle"
35-
check "which pydocstyle" bash -c "which pydocstyle | grep /usr/local/py-utils/bin/pydocstyle"
36-
check "which pylint" bash -c "which pylint | grep /usr/local/py-utils/bin/pylint"
3719
check "which pytest" bash -c "which pytest | grep /usr/local/py-utils/bin/pytest"
3820

3921
# Report result

test/python/install_via_oryx.sh

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,29 +11,11 @@ check "pip is installed" pip --version
1111
check "pip is installed" pip3 --version
1212

1313
# Check that tools can execute
14-
check "autopep8" autopep8 --version
15-
check "black" black --version
16-
check "yapf" yapf --version
17-
check "bandit" bandit --version
18-
check "flake8" flake8 --version
19-
check "mypy" mypy --version
20-
check "pycodestyle" pycodestyle --version
21-
check "pydocstyle" pydocstyle --version
22-
check "pylint" pylint --version
2314
check "pytest" pytest --version
2415

2516
# Check paths in settings
2617
check "current symlink is correct" bash -c "which python | grep /usr/local/python/current/bin/python"
2718
check "current symlink works" /usr/local/python/current/bin/python --version
28-
check "which autopep8" bash -c "which autopep8 | grep /usr/local/py-utils/bin/autopep8"
29-
check "which black" bash -c "which black | grep /usr/local/py-utils/bin/black"
30-
check "which yapf" bash -c "which yapf | grep /usr/local/py-utils/bin/yapf"
31-
check "which bandit" bash -c "which bandit | grep /usr/local/py-utils/bin/bandit"
32-
check "which flake8" bash -c "which flake8 | grep /usr/local/py-utils/bin/flake8"
33-
check "which mypy" bash -c "which mypy | grep /usr/local/py-utils/bin/mypy"
34-
check "which pycodestyle" bash -c "which pycodestyle | grep /usr/local/py-utils/bin/pycodestyle"
35-
check "which pydocstyle" bash -c "which pydocstyle | grep /usr/local/py-utils/bin/pydocstyle"
36-
check "which pylint" bash -c "which pylint | grep /usr/local/py-utils/bin/pylint"
3719
check "which pytest" bash -c "which pytest | grep /usr/local/py-utils/bin/pytest"
3820

3921
# Report result

test/python/test.sh

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,29 +11,11 @@ check "pip is installed" pip --version
1111
check "pip is installed" pip3 --version
1212

1313
# Check that tools can execute
14-
check "autopep8" autopep8 --version
15-
check "black" black --version
16-
check "yapf" yapf --version
17-
check "bandit" bandit --version
18-
check "flake8" flake8 --version
19-
check "mypy" mypy --version
20-
check "pycodestyle" pycodestyle --version
21-
check "pydocstyle" pydocstyle --version
22-
check "pylint" pylint --version
2314
check "pytest" pytest --version
2415

2516
# Check paths in settings
2617
check "current symlink is correct" bash -c "which python | grep /usr/local/python/current/bin/python"
2718
check "current symlink works" /usr/local/python/current/bin/python --version
28-
check "which autopep8" bash -c "which autopep8 | grep /usr/local/py-utils/bin/autopep8"
29-
check "which black" bash -c "which black | grep /usr/local/py-utils/bin/black"
30-
check "which yapf" bash -c "which yapf | grep /usr/local/py-utils/bin/yapf"
31-
check "which bandit" bash -c "which bandit | grep /usr/local/py-utils/bin/bandit"
32-
check "which flake8" bash -c "which flake8 | grep /usr/local/py-utils/bin/flake8"
33-
check "which mypy" bash -c "which mypy | grep /usr/local/py-utils/bin/mypy"
34-
check "which pycodestyle" bash -c "which pycodestyle | grep /usr/local/py-utils/bin/pycodestyle"
35-
check "which pydocstyle" bash -c "which pydocstyle | grep /usr/local/py-utils/bin/pydocstyle"
36-
check "which pylint" bash -c "which pylint | grep /usr/local/py-utils/bin/pylint"
3719
check "which pytest" bash -c "which pytest | grep /usr/local/py-utils/bin/pytest"
3820

3921
# Report result

0 commit comments

Comments
 (0)