Skip to content

Commit

Permalink
demote cwlformat dep to an extra
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Nov 11, 2021
1 parent abe4515 commit f2db648
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ python:
- requirements: docs/requirements.txt
- method: pip
path: .
extra_requirements:
- pretty
2 changes: 1 addition & 1 deletion release-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export LC_ALL=C

package=cwl-utils
module=cwl_utils
extras=""
extras="[pretty]"

if [ "$GITHUB_ACTIONS" = "true" ]; then
# We are running as a GH Action
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"requests",
"schema-salad >= 8.2, < 9",
"cwltool >= 3.0.20201113183607",
"cwlformat",
"cwl-upgrader >= 1.2",
],
tests_require=["pytest<7", "cwltool"],
Expand All @@ -47,6 +46,7 @@
"cwl_utils/graph_split.py",
"cwl_utils/cwl_normalizer.py",
],
extras_require={"pretty": ["cwlformat"]},
classifiers=[
"Environment :: Console",
"Intended Audience :: Science/Research",
Expand Down
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ skip_install =
py{36,37,38,39,310}-lint: true
py{36,37,38,39,310}-bandit: true

extras =
py{36,37,38,39,310}-unit: pretty

[testenv:py39-pydocstyle]
whitelist_externals = make
commands = make diff_pydocstyle_report
Expand Down

0 comments on commit f2db648

Please sign in to comment.