mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
- Add flake8-import-order to flake8 Pipfile and remove py27-lint-imports and py27-lint-imports-include-list tox envs - Fix most E201 and E202 errors reported by flake8-import-order v0.15, but pin flake8-import-order to v0.14.3 until https://github.com/PyCQA/flake8-import-order/issues/123 is fixed This let us drop 2 jobs on Travis per each job.
10 lines
271 B
Python
10 lines
271 B
Python
import yaml
|
|
from pkg_resources import resource_string
|
|
|
|
from .components import Component
|
|
|
|
new_data_yaml = resource_string(__name__, 'navigation.yml').decode("UTF-8")
|
|
NAVIGATION_RAW = yaml.safe_load(new_data_yaml)
|
|
|
|
NAVIGATION = Component.from_dict("root", NAVIGATION_RAW)
|