Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cwltool/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,9 @@ def random_outdir() -> str:
fcntl: Optional[ModuleType] = None
msvcrt: Optional[ModuleType] = None
try:
import fcntl # type: ignore
import fcntl
except ImportError:
import msvcrt # type: ignore
import msvcrt


def shared_file_lock(fd: IO[Any]) -> None:
Expand Down
2 changes: 1 addition & 1 deletion mypy-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mypy==0.991
mypy==1.0.0 # also update pyproject.toml
ruamel.yaml>=0.16.0,<0.17.22
schema-salad>=8.2.20211104054942,<9
cwl-utils >=0.19
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
requires = [
"setuptools>=45",
'mypy==0.971; python_version == "3.6"', # last version for Python 3.6
'mypy==0.991; python_version >= "3.7"',
'mypy==1.0; python_version >= "3.7"', # also update mypy-requirements.txt
"types-pkg_resources",
"types-requests",
"types-psutil",
Expand Down