mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
Split test/base into lib/galaxy_test/base and lib/galaxy_test/driver. Dividing things on whether they import galaxy-app code or not - with the goal of a galaxy-test-base package that doesn't depend on galaxy-app and a galaxy-test-driver package that does. I've been refactoring around this division for a long time. Certain tests (namely the integration tests) always need to bootstrap Galaxy - but the API tests and the Selenium tests should be installable and runnable without Galaxy in the Python environment. So future galaxy-test-api and galaxy-test-selenium packages should have only an optional dependency on galaxy-test-driver. Properly sturcturing these namespaces is a precursor for real packages on PyPI, clean separation of the tool shed testing code, and cleans up all the flake8 noqa hacks in test/.
19 lines
948 B
INI
19 lines
948 B
INI
[wheel]
|
|
universal = 1
|
|
|
|
[flake8]
|
|
# These are exceptions allowed by Galaxy style guidelines.
|
|
# E128 continuation line under-indented for visual indent
|
|
# E203 whitespace before ':'
|
|
# E402 module level import not at top of file # TODO, we would like to improve this.
|
|
# E501 is line length
|
|
# E741 do not use variables named 'l', 'O' or 'I'
|
|
# W503 is line breaks before binary operators, which has been reversed in PEP 8.
|
|
# D** are docstring linting - which we mostly ignore except D302. (Hopefully we will solve more over time).
|
|
ignore = E128,E203,E501,E402,E741,W503,W504,D100,D101,D102,D103,D104,D105,D106,D107,D200,D201,D202,D204,D205,D206,D207,D208,D209,D210,D211,D300,D301,D400,D401,D402,D403,D412,D413
|
|
exclude = lib/galaxy/util/jstree.py
|
|
# For flake8-import-order
|
|
# https://github.com/PyCQA/flake8-import-order/blob/master/tests/test_cases/complete_smarkets.py
|
|
import-order-style = smarkets
|
|
application-import-names = galaxy,galaxy_test,tool_shed
|