mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-08-01 13:40:29 +08:00
add clean django-stubs folder, add some tests
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from mypy.plugin import Plugin, ClassDefContext
|
||||
|
||||
|
||||
def determine_type_of_array_field(context: ClassDefContext) -> None:
|
||||
pass
|
||||
|
||||
|
||||
class PostgresFieldsPlugin(Plugin):
|
||||
def get_base_class_hook(self, fullname: str
|
||||
):
|
||||
return determine_type_of_array_field
|
||||
Reference in New Issue
Block a user