fix flake8 E713 (test-for-membership)

This commit is contained in:
Pavol Rusnak
2023-01-30 11:46:44 +00:00
parent f6bd8684d3
commit eba7319808
9 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -467,7 +467,7 @@ class InstalledExtensionMiddleware:
self.app = app
async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None:
if not "path" in scope:
if "path" not in scope:
await self.app(scope, receive, send)
return