File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5656 run : tox -e lint_docstring_include_list
5757 - name : Run mypy checks
5858 run : tox -e mypy
59- - uses : psf/black@stable
60- with :
61- version : " >=25.1.0"
62- - uses : isort/isort-action@v1
59+ - name : Run format checks
60+ run : tox -e format
Original file line number Diff line number Diff line change 33# hyphens in an environment name are used to delimit factors
44envlist =
55 first_startup
6+ format
67 lint
78 lint_docstring_include_list
89 mypy
@@ -16,6 +17,8 @@ skipsdist = True
1617[testenv]
1718commands =
1819 first_startup: bash .ci/first_startup.sh
20+ format: isort --check --diff .
21+ format: black --check --diff .
1922 lint: ruff check .
2023 # Once we are happy to replace flake8 with ruff, we can replace the next line with `black --check --diff`
2124 # (since ruff delegates to black for checking/fixing many rules).
@@ -31,6 +34,8 @@ commands =
3134 test_galaxy_packages_for_pulsar: bash packages/test.sh --for-pulsar
3235allowlist_externals =
3336 bash
37+ black
38+ isort
3439 make
3540passenv =
3641 CI
@@ -52,6 +57,7 @@ setenv =
5257 unit: marker =not external_dependency_management
5358deps =
5459 coverage: coverage
60+ format: -rlib/galaxy/dependencies/dev-requirements.txt
5561 lint,lint_docstring,lint_docstring_include_list: -rlib/galaxy/dependencies/pinned-lint-requirements.txt
5662 mypy: -rlib/galaxy/dependencies/pinned-typecheck-requirements.txt
5763 mypy: -rlib/galaxy/dependencies/pinned-requirements.txt
You can’t perform that action at this time.
0 commit comments