Skip to content

Commit 035300c

Browse files
Bump mypy from 0.991 to 1.0.0 (#1801)
Bumps [mypy](https://github.com/python/mypy) from 0.991 to 1.0.0. - [Release notes](https://github.com/python/mypy/releases) - [Commits](python/mypy@v0.991...v1.0.0) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 9c1b525 commit 035300c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

cwltool/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,9 @@ def random_outdir() -> str:
245245
fcntl: Optional[ModuleType] = None
246246
msvcrt: Optional[ModuleType] = None
247247
try:
248-
import fcntl # type: ignore
248+
import fcntl
249249
except ImportError:
250-
import msvcrt # type: ignore
250+
import msvcrt
251251

252252

253253
def shared_file_lock(fd: IO[Any]) -> None:

mypy-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
mypy==0.991
1+
mypy==1.0.0 # also update pyproject.toml
22
ruamel.yaml>=0.16.0,<0.17.22
33
schema-salad>=8.2.20211104054942,<9
44
cwl-utils >=0.19

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
requires = [
33
"setuptools>=45",
44
'mypy==0.971; python_version == "3.6"', # last version for Python 3.6
5-
'mypy==0.991; python_version >= "3.7"',
5+
'mypy==1.0; python_version >= "3.7"', # also update mypy-requirements.txt
66
"types-pkg_resources",
77
"types-requests",
88
"types-psutil",

0 commit comments

Comments
 (0)