Skip to content

Commit 226624d

Browse files
committed
build(py): add some ingore rules for ruff
1 parent eb5e871 commit 226624d

File tree

1 file changed

+6
-1
lines changed
  • template/py/{{cookiecutter.project_slug}}

1 file changed

+6
-1
lines changed

template/py/{{cookiecutter.project_slug}}/ruff.toml

+6-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,9 @@ select = [
1212
"UP", # pyupgrade
1313
"ARG001", # unused arguments in functions
1414
]
15-
ignore = []
15+
16+
ignore = [
17+
"E501", # line too long
18+
"B008", # do not perform function calls in argument defaults
19+
"B904", # Allow raising exceptions without from e, for HTTPException
20+
]

0 commit comments

Comments
 (0)