mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-16 00:37:11 +08:00
Add end-of-file-fixer hook to pre-commit (#668)
This commit is contained in:
@@ -8,4 +8,3 @@
|
||||
models.Index("foo", name="test", opclasses=["bar"])
|
||||
models.Index("foo", name="test", condition=models.Q(foo=1))
|
||||
models.Index("foo", name="test", include=["bar"])
|
||||
|
||||
|
||||
@@ -254,4 +254,4 @@
|
||||
def base_init(cls) -> 'AbstractModel':
|
||||
return cls(text='mytext')
|
||||
class MyModel(AbstractModel):
|
||||
pass
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user