mirror of https://github.com/zulip/zulip.git
ruff: Specify all selected errors.
extend-select may be removed upstream. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
66393640a8
commit
c2cbc57bc4
|
@ -99,9 +99,11 @@ django_settings_module = "zproject.settings"
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
# See https://github.com/charliermarsh/ruff#rules for error code definitions.
|
# See https://github.com/charliermarsh/ruff#rules for error code definitions.
|
||||||
extend-select = [
|
select = [
|
||||||
"B", # bugbear
|
"B", # bugbear
|
||||||
"C", # comprehensions
|
"C", # comprehensions
|
||||||
|
"E", # style errors
|
||||||
|
"F", # flakes
|
||||||
"M", # meta
|
"M", # meta
|
||||||
"U", # upgrade
|
"U", # upgrade
|
||||||
"W", # style warnings
|
"W", # style warnings
|
||||||
|
|
Loading…
Reference in New Issue