mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-08 21:15:22 +08:00
add clean django-stubs folder, add some tests
This commit is contained in:
1 parent
96cd3ddb27
commit
a6580af216
16 files changed
+91
-9
No files matched your search
@@ -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