Skip to content

Commit d321136

Browse files
pre-commit autoupdate (#112)
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
1 parent 4dec74e commit d321136

3 files changed

Lines changed: 11 additions & 12 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ci:
88

99
repos:
1010
- repo: https://github.com/psf/black
11-
rev: 22.12.0
11+
rev: 23.1.0
1212
hooks:
1313
- id: black
1414
args:
@@ -19,7 +19,7 @@ repos:
1919
hooks:
2020
- id: flake8
2121
- repo: https://github.com/PyCQA/pylint
22-
rev: v2.15.9
22+
rev: v2.16.1
2323
hooks:
2424
- id: pylint
2525
args:
@@ -51,7 +51,7 @@ repos:
5151
args:
5252
- --py36-plus
5353
- repo: https://github.com/pycqa/isort
54-
rev: 5.11.4
54+
rev: 5.12.0
5555
hooks:
5656
- id: isort
5757
name: isort

components/graphqlclient.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@ async def get_thread(
8787
data = result["repository"]
8888
thread_data = data["issueOrPullRequest"] or data["discussion"]
8989

90-
entry_type_data = dict(
91-
owner=organization,
92-
repo=repository,
93-
number=number,
94-
title=thread_data["title"],
95-
url=thread_data["url"],
96-
author=thread_data["author"]["login"],
97-
)
90+
entry_type_data = {
91+
"owner": organization,
92+
"repo": repository,
93+
"number": number,
94+
"title": thread_data["title"],
95+
"url": thread_data["url"],
96+
"author": thread_data["author"]["login"],
97+
}
9898

9999
if thread_data.get("__typename") == "Issue":
100100
return Issue(**entry_type_data)

components/util.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ def truncate_str(string: str, max_length: int) -> str:
138138
def build_command_list(
139139
private: bool = False, group_name: str = None, admins: bool = False
140140
) -> List[Tuple[str, str]]:
141-
142141
base_commands = [
143142
(hint.tag, hint.description) for hint in TAG_HINTS.values() if hint.group_command
144143
]

0 commit comments

Comments
 (0)