Skip to content

Commit f2db648

Browse files
committed
demote cwlformat dep to an extra
1 parent abe4515 commit f2db648

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.readthedocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ python:
1919
- requirements: docs/requirements.txt
2020
- method: pip
2121
path: .
22+
extra_requirements:
23+
- pretty

release-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export LC_ALL=C
77

88
package=cwl-utils
99
module=cwl_utils
10-
extras=""
10+
extras="[pretty]"
1111

1212
if [ "$GITHUB_ACTIONS" = "true" ]; then
1313
# We are running as a GH Action

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"requests",
3636
"schema-salad >= 8.2, < 9",
3737
"cwltool >= 3.0.20201113183607",
38-
"cwlformat",
3938
"cwl-upgrader >= 1.2",
4039
],
4140
tests_require=["pytest<7", "cwltool"],
@@ -47,6 +46,7 @@
4746
"cwl_utils/graph_split.py",
4847
"cwl_utils/cwl_normalizer.py",
4948
],
49+
extras_require={"pretty": ["cwlformat"]},
5050
classifiers=[
5151
"Environment :: Console",
5252
"Intended Audience :: Science/Research",

tox.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ skip_install =
6060
py{36,37,38,39,310}-lint: true
6161
py{36,37,38,39,310}-bandit: true
6262

63+
extras =
64+
py{36,37,38,39,310}-unit: pretty
65+
6366
[testenv:py39-pydocstyle]
6467
whitelist_externals = make
6568
commands = make diff_pydocstyle_report

0 commit comments

Comments
 (0)