Version 1.10.0 release (#886)

* Version 1.10.0 release

* Fixes CI

* Fixes CI
This commit is contained in:
Nikita Sobolev authored and GitHub committed 2022-03-26 09:22:13 +03:00
1 parent 3f340c9df3
commit 3c58270a78
7 files changed
+13 -12

No files matched your search

@@ -110,10 +110,10 @@
from django.contrib import admin
class A(admin.ModelAdmin):
radio_fields = {"some_field": 0} # E: Dict entry 0 has incompatible type "str": "Literal[0]"; expected "str": "Union[Literal[1], Literal[2]]"
radio_fields = {"some_field": 0} # E: Dict entry 0 has incompatible type "str": "Literal[0]"; expected "str": "Literal[1, 2]"
class B(admin.ModelAdmin):
radio_fields = {1: admin.VERTICAL} # E: Dict entry 0 has incompatible type "int": "Literal[2]"; expected "str": "Union[Literal[1], Literal[2]]"
radio_fields = {1: admin.VERTICAL} # E: Dict entry 0 has incompatible type "int": "Literal[2]"; expected "str": "Literal[1, 2]"
- case: errors_for_invalid_formfield_overrides
main: |
from django.contrib import admin