Skip to content

Commit 95fdc1d

Browse files
committed
Fix lint
1 parent 6db2f8e commit 95fdc1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

instrumentation/opentelemetry-instrumentation-django/tests/test_middleware.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@
7878
else:
7979
from django.conf.urls import url as re_path
8080

81-
def path(p, *args, **kwargs):
82-
return re_path(r"^%s$" % p, *args, **kwargs)
81+
def path(path_argument, *args, **kwargs):
82+
return re_path(rf"^{path_argument}$", *args, **kwargs)
8383

8484

8585
urlpatterns = [

0 commit comments

Comments
 (0)