From d0e09d2ba567f23d91ac76d1844966bafb9b063a Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sun, 7 Jul 2024 02:29:26 +0100 Subject: Apply fixable lint settings with Ruff --- backend/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'backend/__init__.py') diff --git a/backend/__init__.py b/backend/__init__.py index dcbdcdf..67015d7 100644 --- a/backend/__init__.py +++ b/backend/__init__.py @@ -27,7 +27,7 @@ sentry_sdk.init( dsn=constants.FORMS_BACKEND_DSN, send_default_pii=True, release=SENTRY_RELEASE, - environment=SENTRY_RELEASE + environment=SENTRY_RELEASE, ) middleware = [ @@ -36,10 +36,10 @@ middleware = [ allow_origins=["https://forms.pythondiscord.com"], allow_origin_regex=ALLOW_ORIGIN_REGEX, allow_headers=[ - "Content-Type" + "Content-Type", ], allow_methods=["*"], - allow_credentials=True + allow_credentials=True, ), Middleware(DatabaseMiddleware), Middleware(AuthenticationMiddleware, backend=JWTAuthenticationBackend()), -- cgit v1.2.3