Skip to content

Commit

Permalink
Ignore additional ruff rules
Browse files Browse the repository at this point in the history
  • Loading branch information
153957 committed Mar 7, 2024
1 parent 3ff761d commit e28fd8c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,16 @@ select = ['ALL'] # https://docs.astral.sh/ruff/rules/
ignore = [
'ANN', # Type annotations not enforced
'D', # Ignore docstring checks
'G004', # Allow f-string in logging
'PTH', # Still using os.path
'PT', # Not using pytest
'RET', # Allow elif/else after return
]

[tool.ruff.lint.per-file-ignores]
'migration/*.py' = ['T201'] # Allow printing
'scripts/*.py' = ['T201'] # Allow printing

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

Expand Down

0 comments on commit e28fd8c

Please sign in to comment.