Browse Source

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

pull/11354/head
Sebastián Ramírez 1 year ago
committed by GitHub
parent
commit
d0fcfd0dff
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      .github/actions/people/app/main.py
  2. 1
      pyproject.toml

2
.github/actions/people/app/main.py

@ -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()

1
pyproject.toml

@ -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
]

Loading…
Cancel
Save