Skip to content

Commit 7ec307b

Browse files
authored
Merge pull request #1236 from common-workflow-language/ruamel_up_to_0.16.5
max ruamel.yaml is 0.16.5; update mypy
2 parents bf93dd3 + b7aaee4 commit 7ec307b

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

cwltool/argparser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,11 +766,11 @@ def add_argument(
766766
else:
767767
typekw = {}
768768

769-
toolparser.add_argument( # type: ignore
769+
toolparser.add_argument(
770770
flag + name,
771771
required=required,
772772
help=ahelp,
773-
action=action,
773+
action=action, # type: ignore
774774
default=default,
775775
**typekw
776776
)

cwltool/validate_js.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def get_expressions(
8383
itertools.chain(
8484
*map(
8585
lambda x: get_expressions(
86-
x[1], schema.items, SourceLine(tool, x[0])
86+
x[1], schema.items, SourceLine(tool, x[0]) # type: ignore
8787
),
8888
enumerate(tool),
8989
)

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
requests>=2.4.3
2-
ruamel.yaml>=0.12.4,<=0.16
2+
ruamel.yaml>=0.12.4,<=0.16.5
33
rdflib>=4.2.2,<4.3
44
shellescape>=3.4.1,<3.5
55
schema-salad>=5,<6

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"setuptools",
5959
"requests >= 2.6.1", # >= 2.6.1 to workaround
6060
# https://github.com/ionrock/cachecontrol/issues/137
61-
"ruamel.yaml >= 0.12.4, <= 0.16",
61+
"ruamel.yaml >= 0.12.4, <= 0.16.5",
6262
"rdflib >= 4.2.2, < 4.3.0",
6363
"shellescape >= 3.4.1, < 3.5",
6464
"schema-salad >= 5, < 6",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ deps =
3838
py{35,36,37,38}-unit: galaxy-tool-util
3939
py{35,36,37,38}-lint: flake8
4040
py{35,36,37,38}-bandit: bandit
41-
py{35,36,37,38}-mypy: mypy==0.720
41+
py{35,36,37,38}-mypy: mypy==0.761
4242

4343
setenv =
4444
py{35,36,37,38}-unit: LC_ALL = C

0 commit comments

Comments
 (0)