summary refs log tree commit diff
path: root/.flake8
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-12-21 13:05:21 -0500
committerGitHub <noreply@github.com>2022-12-21 13:05:21 -0500
commit7010a3d0151b88b3a9a7451201eaf9c5bbe48d64 (patch)
treeb5214edd8759b4334451d10a36fe7835c58fc76b /.flake8
parentBump minimum PyYAML to 3.13. (#14720) (diff)
downloadsynapse-7010a3d0151b88b3a9a7451201eaf9c5bbe48d64.tar.xz
Switch to ruff instead of flake8. (#14633)
ruff is a flake8-compatible Python linter written in Rust.
It supports the flake8 plugins that we use and is significantly
faster in testing.
Diffstat (limited to '.flake8')
-rw-r--r--.flake818
1 files changed, 0 insertions, 18 deletions
diff --git a/.flake8 b/.flake8
deleted file mode 100644
index 4c6a4d5843..0000000000
--- a/.flake8
+++ /dev/null
@@ -1,18 +0,0 @@
-# TODO: incorporate this into pyproject.toml if flake8 supports it in the future.
-# See https://github.com/PyCQA/flake8/issues/234
-[flake8]
-# see https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
-# for error codes. The ones we ignore are:
-#  W503: line break before binary operator
-#  W504: line break after binary operator
-#  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)
-#
-# 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