mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-12 23:27:22 +00:00
Update ruff config
This commit is contained in:
parent
eab87e6401
commit
a00e1ba013
@ -48,6 +48,7 @@ ignore = [
|
||||
'RUF012', # ultra-noisy and dicts in classvars are very common
|
||||
'RUF015', # not always more readable, and we don't do it for huge lists
|
||||
'RUF022', # autofix messes up out formatting instead of just sorting
|
||||
'RUF027', # also triggers on i18n functions -> too noisy for now
|
||||
'D205', # too many docstrings which have no summary line
|
||||
'D301', # https://github.com/astral-sh/ruff/issues/8696
|
||||
'D1', # we have way too many missing docstrings :(
|
||||
|
||||
@ -47,7 +47,7 @@ class UserLookupMode(RichStrEnum):
|
||||
|
||||
@property
|
||||
def title(self):
|
||||
return RichStrEnum.title.__get__(self, type(self)) # noqa: PLC2801
|
||||
return RichStrEnum.title.__get__(self, type(self))
|
||||
|
||||
all_emails = 'all_emails'
|
||||
email_domains = 'email_domains'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user