Add end-of-file-fixer hook to pre-commit (#668)

This commit is contained in:
Petter Friberg
2021-07-11 23:48:36 +02:00
committed by GitHub
parent 446589e133
commit cc5d363cfa
8 changed files with 4 additions and 7 deletions

View File

@@ -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"