Absolute pins on linting dependencies.

- Use completely pinned and hashed dependencies for more consistent, reproducible linting.
- Leverage the awesomeness of pipenv to automate updating these.
- These will always be locked now so builds don't break randomly on other people updating their software. When we finally have the bot up and running that forward merges fixes for Galaxy we can add another if statement that runs this check against dev once a day and opens a PR if needed.
This commit is contained in:
John Chilton
2017-10-26 15:53:25 -04:00
parent 862212ad40
commit ccb5f61845
8 changed files with 68 additions and 22 deletions
+9 -21
View File
@@ -5,25 +5,23 @@ skipsdist = True
[testenv:py27-lint]
commands = bash .ci/flake8_wrapper.sh
whitelist_externals = bash
deps =
flake8>=3.4.1
flake8-docstrings>=1.1.0
pydocstyle>=2.1.1
deps = -r.ci/tox_envs/flake8/requirements.txt
[testenv:py33-lint]
commands = bash .ci/flake8_wrapper.sh
whitelist_externals = bash
deps = flake8>=3.4.1
deps = -r.ci/tox_envs/flake8/requirements.txt
[testenv:py34-lint]
commands = bash .ci/flake8_wrapper.sh
whitelist_externals = bash
deps = flake8>=3.4.1
deps = -r.ci/tox_envs/flake8/requirements.txt
[testenv:py35-lint]
commands = bash .ci/flake8_wrapper.sh
whitelist_externals = bash
deps = flake8>=3.4.1
deps = -r.ci/tox_envs/flake8/requirements.txt
[testenv:py27-unit]
commands = bash run_tests.sh --no-create-venv -u
@@ -43,17 +41,13 @@ deps =
commands = bash .ci/flake8_wrapper.sh
whitelist_externals = bash
skip_install = True
deps =
flake8>=3.4.1
flake8-import-order>=0.14
deps = -r.ci/tox_envs/flake8_imports/requirements.txt
[testenv:py27-lint-imports-include-list]
commands = bash .ci/flake8_wrapper_imports.sh
whitelist_externals = bash
skip_install = True
deps =
flake8>=3.4.1
flake8-import-order>=0.14
deps = -r.ci/tox_envs/flake8_imports/requirements.txt
[testenv:qunit]
commands = bash run_tests.sh -q
@@ -79,19 +73,13 @@ whitelist_externals = bash
commands = bash .ci/flake8_wrapper_docstrings.sh --exclude
whitelist_externals = bash
skip_install = True
deps =
flake8>=3.4.1
flake8-docstrings>=1.1.0
pydocstyle>=2.1.1
deps = -r.ci/tox_envs/flake8/requirements.txt
[testenv:py27-lint-docstring-include-list]
commands = bash .ci/flake8_wrapper_docstrings.sh --include
whitelist_externals = bash
skip_install = True
deps =
flake8>=3.4.1
flake8-docstrings>=1.1.0
pydocstyle>=2.1.1
deps = -r.ci/tox_envs/flake8/requirements.txt
[testenv:check-python-dependencies]
commands = make list-dependency-updates # someday change exit code on this.