mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-09 05:24:53 +08:00
add clean django-stubs folder, add some tests
This commit is contained in:
11
mypy_django_plugin/plugins/postgres_fields.py
Normal file
11
mypy_django_plugin/plugins/postgres_fields.py
Normal file
@@ -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