diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2022-10-19 19:38:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-19 19:38:24 +0000 |
commit | 0b7830e457359ce651b293c8748bf636973404a9 (patch) | |
tree | d8a0099884513c09518168df7e7ad56f5942f5a1 /.flake8 | |
parent | Document encryption_enabled_by_default_for_room_type under the right name (#1... (diff) | |
download | synapse-0b7830e457359ce651b293c8748bf636973404a9.tar.xz |
Bump flake8-bugbear from 21.3.2 to 22.9.23 (#14042)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Erik Johnston <erik@matrix.org> Co-authored-by: David Robertson <davidr@element.io>
Diffstat (limited to '.flake8')
-rw-r--r-- | .flake8 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.flake8 b/.flake8 index acb118c86e..4c6a4d5843 100644 --- a/.flake8 +++ b/.flake8 @@ -8,4 +8,11 @@ # E203: whitespace before ':' (which is contrary to pep8?) # E731: do not assign a lambda expression, use a def # E501: Line too long (black enforces this for us) -ignore=W503,W504,E203,E731,E501 +# +# flake8-bugbear runs extra checks. Its error codes are described at +# https://github.com/PyCQA/flake8-bugbear#list-of-warnings +# B019: Use of functools.lru_cache or functools.cache on methods can lead to memory leaks +# B023: Functions defined inside a loop must not use variables redefined in the loop +# B024: Abstract base class with no abstract method. + +ignore=W503,W504,E203,E731,E501,B019,B023,B024 |