Commit 6d6807d
authored
Restore support for mypy v1.13 (#2669)
Currently mypy v1.13 is the minimum supported version, but the fix made
to the choices plugin code in #2646 made use of `TypeInfo.enum_members`
which was introduced in v1.14. This commit adds a backport of the
version introduced in v1.14 which can be removed when `django-stubs`
bumps its minimum version.1 parent e566001 commit 6d6807d
1 file changed
+22
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
21 | 40 | | |
22 | 41 | | |
23 | 42 | | |
| |||
33 | 52 | | |
34 | 53 | | |
35 | 54 | | |
36 | | - | |
| 55 | + | |
| 56 | + | |
37 | 57 | | |
38 | 58 | | |
39 | 59 | | |
| |||
0 commit comments