Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,11 @@ select = ["ALL"]
]
"src/*/handlers/**" = [
"D103", # FastAPI handlers should not have docstrings
"PLR0917", # FastAPI injects handler arguments by keyword, not position
]
"*/src/*/handlers/**" = [
"D103", # FastAPI handlers should not have docstrings
"PLR0917", # FastAPI injects handler arguments by keyword, not position
]
"tests/**" = [
"C901", # tests are allowed to be complex, sometimes that's convenient
Expand Down
2 changes: 2 additions & 0 deletions project_templates/fastapi_safir_app/example/ruff-shared.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,11 @@ select = ["ALL"]
]
"src/*/handlers/**" = [
"D103", # FastAPI handlers should not have docstrings
"PLR0917", # FastAPI injects handler arguments by keyword, not position
]
"*/src/*/handlers/**" = [
"D103", # FastAPI handlers should not have docstrings
"PLR0917", # FastAPI injects handler arguments by keyword, not position
]
"tests/**" = [
"C901", # tests are allowed to be complex, sometimes that's convenient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,11 @@ select = ["ALL"]
]
"src/*/handlers/**" = [
"D103", # FastAPI handlers should not have docstrings
"PLR0917", # FastAPI injects handler arguments by keyword, not position
]
"*/src/*/handlers/**" = [
"D103", # FastAPI handlers should not have docstrings
"PLR0917", # FastAPI injects handler arguments by keyword, not position
]
"tests/**" = [
"C901", # tests are allowed to be complex, sometimes that's convenient
Expand Down
Loading