diff options
author | Jonathan de Jong <jonathan@automatia.nl> | 2021-03-16 19:19:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-16 14:19:27 -0400 |
commit | 27d2820c33d94cd99aea128b6ade76a7de838c3d (patch) | |
tree | c81628d58ab2daf1184f1654df34ed0d2be30cd2 /synapse/app | |
parent | Add SSO attribute requirements for OIDC providers (#9609) (diff) | |
download | synapse-27d2820c33d94cd99aea128b6ade76a7de838c3d.tar.xz |
Enable flake8-bugbear, but disable most checks. (#9499)
* Adds B00 to ignored checks. * Fixes remaining issues.
Diffstat (limited to 'synapse/app')
-rw-r--r-- | synapse/app/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/app/__init__.py b/synapse/app/__init__.py index 4a9b0129c3..d1a2cd5e19 100644 --- a/synapse/app/__init__.py +++ b/synapse/app/__init__.py @@ -22,7 +22,9 @@ logger = logging.getLogger(__name__) try: python_dependencies.check_requirements() except python_dependencies.DependencyException as e: - sys.stderr.writelines(e.message) + sys.stderr.writelines( + e.message # noqa: B306, DependencyException.message is a property + ) sys.exit(1) |