diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c98d038..a25c300 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,6 +11,7 @@ repos: - id: check-executables-have-shebangs - id: debug-statements - id: check-merge-conflict + - id: end-of-file-fixer - repo: https://github.com/asottile/pyupgrade rev: v2.20.0 hooks: diff --git a/django_stubs_ext/django_stubs_ext/py.typed b/django_stubs_ext/django_stubs_ext/py.typed index 8b13789..e69de29 100644 --- a/django_stubs_ext/django_stubs_ext/py.typed +++ b/django_stubs_ext/django_stubs_ext/py.typed @@ -1 +0,0 @@ - diff --git a/release.sh b/release.sh index c0b2a07..52810ef 100755 --- a/release.sh +++ b/release.sh @@ -14,4 +14,4 @@ then fi else echo "git working tree is not clean, aborting" -fi \ No newline at end of file +fi diff --git a/tests/typecheck/db/test_transaction.yml b/tests/typecheck/db/test_transaction.yml index 7919c75..ee9dea6 100644 --- a/tests/typecheck/db/test_transaction.yml +++ b/tests/typecheck/db/test_transaction.yml @@ -25,4 +25,3 @@ @non_atomic_requests def view_func(request: HttpRequest, arg: str) -> HttpResponse: ... reveal_type(view_func) # N: Revealed type is "def (request: django.http.request.HttpRequest, arg: builtins.str) -> django.http.response.HttpResponse" - diff --git a/tests/typecheck/managers/querysets/test_filter.yml b/tests/typecheck/managers/querysets/test_filter.yml index 43056f5..3418ac5 100644 --- a/tests/typecheck/managers/querysets/test_filter.yml +++ b/tests/typecheck/managers/querysets/test_filter.yml @@ -253,4 +253,4 @@ class User(models.Model): username = models.TextField() username2 = models.TextField() - age = models.IntegerField() \ No newline at end of file + age = models.IntegerField() diff --git a/tests/typecheck/models/test_indexes.yml b/tests/typecheck/models/test_indexes.yml index ce78c0a..117d9c3 100644 --- a/tests/typecheck/models/test_indexes.yml +++ b/tests/typecheck/models/test_indexes.yml @@ -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"]) - diff --git a/tests/typecheck/models/test_init.yml b/tests/typecheck/models/test_init.yml index 40ac583..8af7c4f 100644 --- a/tests/typecheck/models/test_init.yml +++ b/tests/typecheck/models/test_init.yml @@ -254,4 +254,4 @@ def base_init(cls) -> 'AbstractModel': return cls(text='mytext') class MyModel(AbstractModel): - pass \ No newline at end of file + pass diff --git a/tests/typecheck/test_request.yml b/tests/typecheck/test_request.yml index 1384977..d8dec58 100644 --- a/tests/typecheck/test_request.yml +++ b/tests/typecheck/test_request.yml @@ -69,4 +69,3 @@ reveal_type(request.user) # N: Revealed type is "django.contrib.auth.models.User" custom_settings: | INSTALLED_APPS = ('django.contrib.contenttypes', 'django.contrib.auth') -