requirements: Upgrade Python requirements.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2025-03-14 15:26:54 -07:00
committed by Tim Abbott
parent 838ae38b43
commit 512613ead4
3 changed files with 698 additions and 690 deletions

View File

@@ -113,7 +113,7 @@ prod = [
# Install Python Social Auth
"social-auth-app-django",
"social-auth-core[azuread,openidconnect,saml]",
"social-auth-core[azuread]", # https://github.com/python-social-auth/social-core/pull/1025
"python3-saml",
# For encrypting a login token to the desktop app
@@ -470,6 +470,7 @@ ignore = [
"E402", # Module level import not at top of file
"E501", # Line too long
"E731", # Do not assign a lambda expression, use a def
"LOG015", # `error()` call on root logger
"N802", # Function name should be lowercase
"N806", # Variable in function should be lowercase
"PERF203", # `try`-`except` within a loop incurs performance overhead
@@ -506,6 +507,7 @@ ignore = [
"TC001", # Move application import into a type-checking block
"TC002", # Move third-party import into a type-checking block
"TC003", # Move standard library import into a type-checking block
"TC006", # Add quotes to type expression in `typing.cast()`
]
[tool.ruff.lint.flake8-bandit]