aboutsummaryrefslogtreecommitdiffstats
path: root/backend/constants.py
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-07-07 02:29:26 +0100
committerGravatar Joe Banks <[email protected]>2024-07-08 15:00:10 +0100
commitd0e09d2ba567f23d91ac76d1844966bafb9b063a (patch)
tree9e825e3f09df02ab32e401c7e9555df26356dd4c /backend/constants.py
parentChange linting config to Ruff (diff)
Apply fixable lint settings with Ruff
Diffstat (limited to 'backend/constants.py')
-rw-r--r--backend/constants.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/backend/constants.py b/backend/constants.py
index e1c38d3..8089077 100644
--- a/backend/constants.py
+++ b/backend/constants.py
@@ -18,7 +18,8 @@ PRODUCTION_URL = "https://forms.pythondiscord.com"
OAUTH2_CLIENT_ID = os.getenv("OAUTH2_CLIENT_ID")
OAUTH2_CLIENT_SECRET = os.getenv("OAUTH2_CLIENT_SECRET")
OAUTH2_REDIRECT_URI = os.getenv(
- "OAUTH2_REDIRECT_URI", "https://forms.pythondiscord.com/callback"
+ "OAUTH2_REDIRECT_URI",
+ "https://forms.pythondiscord.com/callback",
)
GIT_SHA = os.getenv("GIT_SHA", "dev")
@@ -28,7 +29,7 @@ DOCS_PASSWORD = os.getenv("DOCS_PASSWORD")
SECRET_KEY = os.getenv("SECRET_KEY", binascii.hexlify(os.urandom(30)).decode())
DISCORD_BOT_TOKEN = os.getenv("DISCORD_BOT_TOKEN")
-DISCORD_GUILD = os.getenv("DISCORD_GUILD", 267624335836053506)
+DISCORD_GUILD = os.getenv("DISCORD_GUILD", "267624335836053506")
HCAPTCHA_API_SECRET = os.getenv("HCAPTCHA_API_SECRET")