From c4229d452b0fa6afebcefdd973567d257a44f835 Mon Sep 17 00:00:00 2001 From: Adrian Moennich Date: Thu, 21 Dec 2023 15:44:20 +0100 Subject: [PATCH] Update ruff config --- ruff.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ruff.toml b/ruff.toml index 62d9e716..4e44751d 100644 --- a/ruff.toml +++ b/ruff.toml @@ -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