Skip to content

Commit ccdc413

Browse files
ci(deps): pre-commit autoupdate (#476)
1 parent cb13d45 commit ccdc413

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ repos:
3232
- id: check-yaml
3333
- id: check-ast
3434
- repo: https://github.com/python-poetry/poetry
35-
rev: "2.0.0"
35+
rev: "2.0.1"
3636
hooks:
3737
- id: poetry-check
3838
- id: poetry-lock
@@ -52,7 +52,7 @@ repos:
5252
additional_dependencies:
5353
- "mdformat-gfm"
5454
- repo: https://github.com/astral-sh/ruff-pre-commit
55-
rev: "v0.8.6"
55+
rev: "v0.9.1"
5656
hooks:
5757
- id: ruff-format
5858
- id: ruff

basilisk/gui/about_dialog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
app_version = get_version(root="../..", relative_to=__file__)
1616

17-
APP_AUTHORS = ["André-Abush Clause", "Clément Boussiron" "Nael Sayegh"]
17+
APP_AUTHORS = ["André-Abush Clause", "Clément BoussironNael Sayegh"]
1818

1919
APP_TRANSLATORS = [
2020
"André-Abush Clause (French)",

basilisk/gui/conversation_tab.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -822,9 +822,9 @@ def on_prompt_key_down(self, event: wx.KeyEvent):
822822
modifiers = event.GetModifiers()
823823
key_code = event.GetKeyCode()
824824
match (modifiers, key_code):
825-
case (
826-
(wx.MOD_NONE, wx.WXK_RETURN)
827-
| (wx.MOD_NONE, wx.WXK_NUMPAD_ENTER)
825+
case (wx.MOD_NONE, wx.WXK_RETURN) | (
826+
wx.MOD_NONE,
827+
wx.WXK_NUMPAD_ENTER,
828828
):
829829
if config.conf().conversation.shift_enter_mode:
830830
self.on_submit(event)
@@ -834,9 +834,9 @@ def on_prompt_key_down(self, event: wx.KeyEvent):
834834
case (wx.MOD_CONTROL, wx.WXK_UP):
835835
if not self.prompt.GetValue():
836836
self.insert_previous_prompt()
837-
case (
838-
(wx.MOD_CONTROL, wx.WXK_RETURN)
839-
| (wx.MOD_CONTROL, wx.WXK_NUMPAD_ENTER)
837+
case (wx.MOD_CONTROL, wx.WXK_RETURN) | (
838+
wx.MOD_CONTROL,
839+
wx.WXK_NUMPAD_ENTER,
840840
):
841841
self.on_submit(event)
842842
case _:

0 commit comments

Comments
 (0)