Skip to content

Commit

Permalink
build(py): add some ingore rules for ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
pplmx committed Nov 12, 2024
1 parent eb5e871 commit 226624d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion template/py/{{cookiecutter.project_slug}}/ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@ select = [
"UP", # pyupgrade
"ARG001", # unused arguments in functions
]
ignore = []

ignore = [
"E501", # line too long
"B008", # do not perform function calls in argument defaults
"B904", # Allow raising exceptions without from e, for HTTPException
]

0 comments on commit 226624d

Please sign in to comment.