No longer install Python linters and formatters
This commit is contained in:
parent
2c069d33e7
commit
57c7bec14d
5 changed files with 1 additions and 73 deletions
|
@ -26,7 +26,7 @@ CONFIGURE_JUPYTERLAB_ALLOW_ORIGIN="${CONFIGUREJUPYTERLABALLOWORIGIN:-""}"
|
|||
# alongside PYTHON_VERSION, but not set as default.
|
||||
ADDITIONAL_VERSIONS="${ADDITIONALVERSIONS:-""}"
|
||||
|
||||
DEFAULT_UTILS=("pylint" "flake8" "autopep8" "black" "yapf" "mypy" "pydocstyle" "pycodestyle" "bandit" "pipenv" "virtualenv" "pytest")
|
||||
DEFAULT_UTILS=("pipenv" "virtualenv" "pytest")
|
||||
PYTHON_SOURCE_GPG_KEYS="64E628F8D684696D B26995E310250568 2D347EA6AA65421D FB9921286F5E1540 3A5CA953F73C700D 04C367C218ADD4FF 0EDDC5F26A45C816 6AF053F07D9DC8D2 C9BE28DEE6DF025C 126EB563A74B06BF D9866941EA5BBD71 ED9D77D5"
|
||||
GPG_KEY_SERVERS="keyserver hkp://keyserver.ubuntu.com
|
||||
keyserver hkps://keys.openpgp.org
|
||||
|
|
|
@ -12,29 +12,11 @@ check "python version 3.8 installed" bash -c "ls -l /usr/local/python | grep 3.
|
|||
check "python version 3.9.13 installed" bash -c "ls -l /usr/local/python | grep 3.9.13"
|
||||
|
||||
# Check that tools can execute - make sure something didn't get messed up in this scenario
|
||||
check "autopep8" autopep8 --version
|
||||
check "black" black --version
|
||||
check "yapf" yapf --version
|
||||
check "bandit" bandit --version
|
||||
check "flake8" flake8 --version
|
||||
check "mypy" mypy --version
|
||||
check "pycodestyle" pycodestyle --version
|
||||
check "pydocstyle" pydocstyle --version
|
||||
check "pylint" pylint --version
|
||||
check "pytest" pytest --version
|
||||
|
||||
# Check paths in settings
|
||||
check "current symlink is correct" bash -c "which python | grep /usr/local/python/current/bin/python"
|
||||
check "current symlink works" /usr/local/python/current/bin/python --version
|
||||
check "which autopep8" bash -c "which autopep8 | grep /usr/local/py-utils/bin/autopep8"
|
||||
check "which black" bash -c "which black | grep /usr/local/py-utils/bin/black"
|
||||
check "which yapf" bash -c "which yapf | grep /usr/local/py-utils/bin/yapf"
|
||||
check "which bandit" bash -c "which bandit | grep /usr/local/py-utils/bin/bandit"
|
||||
check "which flake8" bash -c "which flake8 | grep /usr/local/py-utils/bin/flake8"
|
||||
check "which mypy" bash -c "which mypy | grep /usr/local/py-utils/bin/mypy"
|
||||
check "which pycodestyle" bash -c "which pycodestyle | grep /usr/local/py-utils/bin/pycodestyle"
|
||||
check "which pydocstyle" bash -c "which pydocstyle | grep /usr/local/py-utils/bin/pydocstyle"
|
||||
check "which pylint" bash -c "which pylint | grep /usr/local/py-utils/bin/pylint"
|
||||
check "which pytest" bash -c "which pytest | grep /usr/local/py-utils/bin/pytest"
|
||||
|
||||
# Report result
|
||||
|
|
|
@ -11,29 +11,11 @@ check "pip is installed" pip --version
|
|||
check "pip is installed" pip3 --version
|
||||
|
||||
# Check that tools can execute
|
||||
check "autopep8" autopep8 --version
|
||||
check "black" black --version
|
||||
check "yapf" yapf --version
|
||||
check "bandit" bandit --version
|
||||
check "flake8" flake8 --version
|
||||
check "mypy" mypy --version
|
||||
check "pycodestyle" pycodestyle --version
|
||||
check "pydocstyle" pydocstyle --version
|
||||
check "pylint" pylint --version
|
||||
check "pytest" pytest --version
|
||||
|
||||
# Check paths in settings
|
||||
check "current symlink is correct" bash -c "which python | grep /usr/local/python/current/bin/python"
|
||||
check "current symlink works" /usr/local/python/current/bin/python --version
|
||||
check "which autopep8" bash -c "which autopep8 | grep /usr/local/py-utils/bin/autopep8"
|
||||
check "which black" bash -c "which black | grep /usr/local/py-utils/bin/black"
|
||||
check "which yapf" bash -c "which yapf | grep /usr/local/py-utils/bin/yapf"
|
||||
check "which bandit" bash -c "which bandit | grep /usr/local/py-utils/bin/bandit"
|
||||
check "which flake8" bash -c "which flake8 | grep /usr/local/py-utils/bin/flake8"
|
||||
check "which mypy" bash -c "which mypy | grep /usr/local/py-utils/bin/mypy"
|
||||
check "which pycodestyle" bash -c "which pycodestyle | grep /usr/local/py-utils/bin/pycodestyle"
|
||||
check "which pydocstyle" bash -c "which pydocstyle | grep /usr/local/py-utils/bin/pydocstyle"
|
||||
check "which pylint" bash -c "which pylint | grep /usr/local/py-utils/bin/pylint"
|
||||
check "which pytest" bash -c "which pytest | grep /usr/local/py-utils/bin/pytest"
|
||||
|
||||
# Report result
|
||||
|
|
|
@ -11,29 +11,11 @@ check "pip is installed" pip --version
|
|||
check "pip is installed" pip3 --version
|
||||
|
||||
# Check that tools can execute
|
||||
check "autopep8" autopep8 --version
|
||||
check "black" black --version
|
||||
check "yapf" yapf --version
|
||||
check "bandit" bandit --version
|
||||
check "flake8" flake8 --version
|
||||
check "mypy" mypy --version
|
||||
check "pycodestyle" pycodestyle --version
|
||||
check "pydocstyle" pydocstyle --version
|
||||
check "pylint" pylint --version
|
||||
check "pytest" pytest --version
|
||||
|
||||
# Check paths in settings
|
||||
check "current symlink is correct" bash -c "which python | grep /usr/local/python/current/bin/python"
|
||||
check "current symlink works" /usr/local/python/current/bin/python --version
|
||||
check "which autopep8" bash -c "which autopep8 | grep /usr/local/py-utils/bin/autopep8"
|
||||
check "which black" bash -c "which black | grep /usr/local/py-utils/bin/black"
|
||||
check "which yapf" bash -c "which yapf | grep /usr/local/py-utils/bin/yapf"
|
||||
check "which bandit" bash -c "which bandit | grep /usr/local/py-utils/bin/bandit"
|
||||
check "which flake8" bash -c "which flake8 | grep /usr/local/py-utils/bin/flake8"
|
||||
check "which mypy" bash -c "which mypy | grep /usr/local/py-utils/bin/mypy"
|
||||
check "which pycodestyle" bash -c "which pycodestyle | grep /usr/local/py-utils/bin/pycodestyle"
|
||||
check "which pydocstyle" bash -c "which pydocstyle | grep /usr/local/py-utils/bin/pydocstyle"
|
||||
check "which pylint" bash -c "which pylint | grep /usr/local/py-utils/bin/pylint"
|
||||
check "which pytest" bash -c "which pytest | grep /usr/local/py-utils/bin/pytest"
|
||||
|
||||
# Report result
|
||||
|
|
|
@ -11,29 +11,11 @@ check "pip is installed" pip --version
|
|||
check "pip is installed" pip3 --version
|
||||
|
||||
# Check that tools can execute
|
||||
check "autopep8" autopep8 --version
|
||||
check "black" black --version
|
||||
check "yapf" yapf --version
|
||||
check "bandit" bandit --version
|
||||
check "flake8" flake8 --version
|
||||
check "mypy" mypy --version
|
||||
check "pycodestyle" pycodestyle --version
|
||||
check "pydocstyle" pydocstyle --version
|
||||
check "pylint" pylint --version
|
||||
check "pytest" pytest --version
|
||||
|
||||
# Check paths in settings
|
||||
check "current symlink is correct" bash -c "which python | grep /usr/local/python/current/bin/python"
|
||||
check "current symlink works" /usr/local/python/current/bin/python --version
|
||||
check "which autopep8" bash -c "which autopep8 | grep /usr/local/py-utils/bin/autopep8"
|
||||
check "which black" bash -c "which black | grep /usr/local/py-utils/bin/black"
|
||||
check "which yapf" bash -c "which yapf | grep /usr/local/py-utils/bin/yapf"
|
||||
check "which bandit" bash -c "which bandit | grep /usr/local/py-utils/bin/bandit"
|
||||
check "which flake8" bash -c "which flake8 | grep /usr/local/py-utils/bin/flake8"
|
||||
check "which mypy" bash -c "which mypy | grep /usr/local/py-utils/bin/mypy"
|
||||
check "which pycodestyle" bash -c "which pycodestyle | grep /usr/local/py-utils/bin/pycodestyle"
|
||||
check "which pydocstyle" bash -c "which pydocstyle | grep /usr/local/py-utils/bin/pydocstyle"
|
||||
check "which pylint" bash -c "which pylint | grep /usr/local/py-utils/bin/pylint"
|
||||
check "which pytest" bash -c "which pytest | grep /usr/local/py-utils/bin/pytest"
|
||||
|
||||
# Report result
|
||||
|
|
Loading…
Reference in a new issue