Skip to content

Commit

Permalink
some todo rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ajfriend committed Oct 27, 2024
1 parent 21cbd4a commit 7cfbf41
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,14 @@ line-length = 88
preview = true
explicit-preview-rules = false # https://docs.astral.sh/ruff/preview/#selecting-single-preview-rules
select = [
'A',
# 'B', # todo
# 'COM', # todo
'E',
'F',
'Q',
'W',
# 'D', # todo. this is nice!
]
ignore = [
'E221', # Multiple spaces before operator
Expand All @@ -117,13 +121,13 @@ ignore = [
'E731', # Do not assign a `lambda` expression, use a `def`
]

fixable = ['ALL']
unfixable = []

[tool.ruff.lint.per-file-ignores]
'*.ipynb' = [
'E501', # Line too long (104 > 88)
]
'test*.py' = [
# 'D', # maybe just the need for docstring
]

[tool.ruff.lint.flake8-quotes]
inline-quotes = 'single'

0 comments on commit 7cfbf41

Please sign in to comment.