Update ruff config

This commit is contained in:
Adrian Moennich 2023-12-21 15:44:20 +01:00
parent 72655fe0ad
commit c4229d452b

View File

@ -84,7 +84,6 @@ ignore = [
'PLW1514', # we expect UTF8 environments everywhere
'PLW1641', # false positives with SA comparator classes
'PLW2901', # noisy and reassigning to the loop var is usually intentional
'PLW3201', # TODO remove after updating to ruff>=1.0.7
'TRY002', # super noisy, and those exceptions are pretty exceptional anyway
'TRY003', # super noisy and also useless w/ werkzeugs http exceptions
'TRY200', # possibly useful but too noisy (also see B904)
@ -148,8 +147,7 @@ classmethod-decorators = [
convention = 'pep257'
[pylint]
# TODO enable after updating to ruff>=1.0.7
# allow-dunder-method-names = ['__table_args__', '__tablename__', '__clause_element__']
allow-dunder-method-names = ['__table_args__', '__tablename__', '__clause_element__']
[per-file-ignores]
# allow stuff that's useful in tests