Turn the ORM Base into a real class
This commit is contained in:
parent
cd74b343bc
commit
6633067563
1 changed files with 7 additions and 8 deletions
|
|
@ -449,8 +449,8 @@ disallow_any_generics = true
|
|||
# Disallow functions with incomplete type annotations
|
||||
disallow_incomplete_defs = true
|
||||
|
||||
# Allow subclassing `Any` as long as the ORM models' `Base` is untyped
|
||||
disallow_subclassing_any = false
|
||||
# Disallow subclassing classes typed `Any`
|
||||
disallow_subclassing_any = true
|
||||
|
||||
# Disallow calling functions without type annotations ...
|
||||
disallow_untyped_calls = true
|
||||
|
|
|
|||
Loading…
Reference in a new issue