Skip to content

Commit 1481856

Browse files
committed
Upgrade mypy 0.931 -> 1.15.0
1 parent 97a83e9 commit 1481856

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

mypy-ratchet.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,15 @@
1111
"Call to untyped function \"bless_prints\" in typed context [no-untyped-call]": 3,
1212
"Function is missing a type annotation [no-untyped-def]": 2
1313
},
14-
"cbv/management/commands/load_all_django_versions.py": {
15-
"Function is missing a type annotation [no-untyped-def]": 1
16-
},
1714
"cbv/management/commands/populate_cbv.py": {
1815
"Function is missing a type annotation [no-untyped-def]": 1
1916
},
2017
"cbv/migrations/0001_initial.py": {
21-
"Need type annotation for \"dependencies\" (hint: \"dependencies: List[<type>] = ...\") [var-annotated]": 1
18+
"Need type annotation for \"dependencies\" (hint: \"dependencies: list[<type>] = ...\") [var-annotated]": 1
2219
},
2320
"cbv/models.py": {
24-
"\"Callable[[Klass], Tuple[str, str, str, str]]\" has no attribute \"dependencies\" [attr-defined]": 1,
25-
"\"Callable[[Module], Tuple[str, str, str]]\" has no attribute \"dependencies\" [attr-defined]": 1,
21+
"\"Callable[[Klass], tuple[str, str, str, str]]\" has no attribute \"dependencies\" [attr-defined]": 1,
22+
"\"Callable[[Module], tuple[str, str, str]]\" has no attribute \"dependencies\" [attr-defined]": 1,
2623
"Missing return statement [return]": 1
2724
},
2825
"cbv/templatetags/cbv_tags.py": {

requirements.dev.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ identify==2.3.0
2222
# via pre-commit
2323
iniconfig==1.1.1
2424
# via pytest
25-
mypy==0.931
25+
mypy==1.15.0
2626
# via -r requirements.dev.in
27-
mypy-extensions==0.4.3
27+
mypy-extensions==1.1.0
2828
# via mypy
2929
mypy-json-report==0.1.3
3030
# via -r requirements.dev.in
@@ -71,7 +71,7 @@ types-requests==2.27.7
7171
# via -r requirements.dev.in
7272
types-urllib3==1.26.7
7373
# via types-requests
74-
typing-extensions==4.0.1
74+
typing-extensions==4.13.2
7575
# via mypy
7676
virtualenv==20.8.1
7777
# via pre-commit

0 commit comments

Comments
 (0)