mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 18:44:56 -04:00
Enable flake8-bugbear, but disable most checks. (#9499)
* Adds B00 to ignored checks. * Fixes remaining issues.
This commit is contained in:
parent
dd5e5dc1d6
commit
27d2820c33
12 changed files with 29 additions and 10 deletions
|
@ -42,7 +42,9 @@ class OIDCConfig(Config):
|
|||
try:
|
||||
check_requirements("oidc")
|
||||
except DependencyException as e:
|
||||
raise ConfigError(e.message) from e
|
||||
raise ConfigError(
|
||||
e.message # noqa: B306, DependencyException.message is a property
|
||||
) from e
|
||||
|
||||
# check we don't have any duplicate idp_ids now. (The SSO handler will also
|
||||
# check for duplicates when the REST listeners get registered, but that happens
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue