🔧 Update Ruff config, add extra ignore rule from SQLModel (#11353)

This commit is contained in:
Sebastián Ramírez 2024-03-26 12:38:21 -05:00 committed by GitHub
parent 910413e215
commit d0fcfd0dff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -378,7 +378,7 @@ def get_discussion_nodes(settings: Settings) -> List[DiscussionsNode]:
def get_discussions_experts(
discussion_nodes: List[DiscussionsNode]
discussion_nodes: List[DiscussionsNode],
) -> DiscussionExpertsResults:
commenters = Counter()
last_month_commenters = Counter()

View File

@ -152,6 +152,7 @@ select = [
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
"W191", # indentation contains tabs
]