Skip to content

Commit 80adbdf

Browse files
committed
Python: Mark unhandled django route handlers with f-:
That is playing more nicely with the expected usage of the inline-tests.
1 parent 8679806 commit 80adbdf

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
| testapp/views.py:3:33:3:47 | Comment # $routeHandler | Missing result:routeHandler= |
2-
| testapp/views.py:6:37:6:51 | Comment # $routeHandler | Missing result:routeHandler= |
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from django.http import HttpRequest, HttpResponse
22

3-
def foo(request: HttpRequest): # $routeHandler
3+
def foo(request: HttpRequest): # $f-:routeHandler
44
return HttpResponse("foo")
55

6-
def bar_baz(request: HttpRequest): # $routeHandler
6+
def bar_baz(request: HttpRequest): # $f-:routeHandler
77
return HttpResponse("bar_baz")

0 commit comments

Comments
 (0)