Skip to content

Commit

Permalink
Update ruff config
Browse files Browse the repository at this point in the history
  • Loading branch information
ThiefMaster committed Dec 21, 2023
1 parent 72655fe commit c4229d4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c4229d4

Please sign in to comment.