Update ruff config

This commit is contained in:
Adrian Moennich 2024-02-06 00:44:02 +01:00
parent eab87e6401
commit a00e1ba013
2 changed files with 2 additions and 1 deletions

View File

@ -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 :(

View File

@ -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'