Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored Jan 31, 2024
1 parent 5650da9 commit 06d18e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ repos:
- id: ruff
args: [ --fix, --exit-non-zero-on-fix ]
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
4 changes: 3 additions & 1 deletion src/skipView.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ def close_alert():
no_data_alert = ft.AlertDialog(
modal=True,
title=ft.Text("提示"),
content=ft.Text(f"获取课程数据失败,错误代码是{course_dict.get('code')}。"),
content=ft.Text(
f"获取课程数据失败,错误代码是{course_dict.get('code')}。"
),
actions=[
ft.TextButton("好", on_click=close_alert),
],
Expand Down

0 comments on commit 06d18e0

Please sign in to comment.