mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-29 17:42:12 +08:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user