Skip to content

Commit 7af89ee

Browse files
authored
Update to mypy 0.770 (#341)
1 parent afa16bf commit 7af89ee

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/enabled_test_modules.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
],
199199
'from_db_value': [
200200
'"Cash" has no attribute',
201-
'Argument 1 to "__str__" of "Decimal"',
201+
'"__str__" of "Decimal"',
202202
],
203203
'get_object_or_404': [
204204
'Argument 1 to "get_object_or_404" has incompatible type "str"; '
@@ -399,7 +399,7 @@
399399
'"RequestSite" of "Union[Site, RequestSite]" has no attribute "id"',
400400
],
401401
'syndication_tests': [
402-
'List or tuple expected as variable arguments'
402+
'Argument 1 to "add_domain" has incompatible type "*Tuple[object, ...]"',
403403
],
404404
'sessions_tests': [
405405
'Incompatible types in assignment (expression has type "None", variable has type "int")',

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def find_stub_files(name: str) -> List[str]:
2121
readme = f.read()
2222

2323
dependencies = [
24-
'mypy>=0.760,<0.770',
24+
'mypy>=0.770,<0.780',
2525
'typing-extensions',
2626
'django',
2727
]

0 commit comments

Comments
 (0)