Skip to content

Commit aa50a6d

Browse files
committed
Bump mypy version
1 parent 646a892 commit aa50a6d

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

formate/imports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def visit_ImportFrom(self, node: ast.ImportFrom) -> None: # noqa: D102
6363

6464
name: ast.alias
6565
for name in node.names:
66-
if name.name in collections.abc.__all__: # type: ignore
66+
if name.name in collections.abc.__all__:
6767
collections_abc_imports.append(name.name)
6868
else:
6969
collections_imports.append(name.name)

repo_helper.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ use_whey: true
1616
min_coverage: 95
1717
sphinx_html_theme: furo
1818
preserve_custom_theme: true
19+
mypy_version: 0.902
1920

2021
conda_channels:
2122
- conda-forge

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ basepython = python3.6
107107
ignore_errors = True
108108
changedir = {toxinidir}
109109
deps =
110-
mypy==0.812
110+
mypy==0.902
111111
-r{toxinidir}/tests/requirements.txt
112112
types-attrs>=0.1.0
113113
commands = mypy formate tests {posargs}

0 commit comments

Comments
 (0)