Skip to content

Commit ab4ef7d

Browse files
committed
Bump mypy version in tests
1 parent 3091cc5 commit ab4ef7d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ coverage-pyver-pragma>=0.2.1
66
domdf-python-tools[testing]>=2.0.1
77
importlib-metadata>=3.6.0
88
iniconfig!=1.1.0,>=1.0.1
9-
mypy==0.931; platform_python_implementation == "CPython"
9+
mypy==0.971; platform_python_implementation == "CPython"
1010
pytest>=6.0.0
1111
pytest-cov>=2.8.1
1212
pytest-mypy-plugins>=1.9.1; platform_python_implementation == "CPython"

tests/test_type_hints_init.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
pass
2121
2222
reveal_type(click_command()) # N: Revealed type is "def (def (*Any, **Any) -> Any) -> click.core.Command"
23-
reveal_type(click_command(cls=MyCommand)) # N: Revealed type is "def (def (*Any, **Any) -> Any) -> main.MyCommand*"
24-
reveal_type(click_command(cls=click.Command)) # N: Revealed type is "def (def (*Any, **Any) -> Any) -> click.core.Command*"
23+
reveal_type(click_command(cls=MyCommand)) # N: Revealed type is "def (def (*Any, **Any) -> Any) -> main.MyCommand"
24+
reveal_type(click_command(cls=click.Command)) # N: Revealed type is "def (def (*Any, **Any) -> Any) -> click.core.Command"
2525
reveal_type(command) # N: Revealed type is "click.core.Command"
2626
2727
reveal_type(click_group()) # N: Revealed type is "def (def (*Any, **Any) -> Any) -> click.core.Group"
28-
reveal_type(click_group(cls=MarkdownHelpGroup)) # N: Revealed type is "def (def (*Any, **Any) -> Any) -> consolekit.commands.MarkdownHelpGroup*"
29-
reveal_type(click_group(cls=click.Group)) # N: Revealed type is "def (def (*Any, **Any) -> Any) -> click.core.Group*"
28+
reveal_type(click_group(cls=MarkdownHelpGroup)) # N: Revealed type is "def (def (*Any, **Any) -> Any) -> consolekit.commands.MarkdownHelpGroup"
29+
reveal_type(click_group(cls=click.Group)) # N: Revealed type is "def (def (*Any, **Any) -> Any) -> click.core.Group"
3030
reveal_type(group) # N: Revealed type is "click.core.Group"

0 commit comments

Comments
 (0)