]> git.ipfire.org Git - thirdparty/starlette.git/commitdiff
Black formatting 5/head
authorTom Christie <tom@tomchristie.com>
Tue, 26 Jun 2018 09:09:59 +0000 (10:09 +0100)
committerTom Christie <tom@tomchristie.com>
Tue, 26 Jun 2018 09:09:59 +0000 (10:09 +0100)
tests/test_routing.py

index 2a30c814578f91e22fe72282098f88555b718595..8c365bec7902a91bed22f0547ada6c2154988884 100644 (file)
@@ -20,13 +20,11 @@ def staticfiles(scope):
 
 app = Router(
     [
-        Path("/", app=homepage, methods=['GET']),
+        Path("/", app=homepage, methods=["GET"]),
         PathPrefix(
             "/users", app=Router([Path("", app=users), Path("/{username}", app=user)])
         ),
-        PathPrefix(
-            "/static", app=staticfiles, methods=['GET']
-        ),
+        PathPrefix("/static", app=staticfiles, methods=["GET"]),
     ]
 )