13 Commits

Author SHA1 Message Date
eb2eae61bf ♻️ user_cookie -> identified_cookie 2025-01-03 17:44:53 +08:00
Azide
08ad5c288c
🧑‍💻 使用 Ruff 包办所有格式化和检查 (#663) 2024-12-17 10:52:21 +08:00
a48ea0e947
🐛 修复 cookie 模块 type hint (#658) 2024-12-05 16:08:42 +08:00
97a0f04808
添加 Cookie 组件 (#633)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-31 12:56:15 +08:00
d6205867b8
无权限用户尝试添加订阅时返回提示信息 (#617)
*  无权限用户尝试添加订阅时返回提示信息

*  添加no_permission_matcher相关的单元测试

* 🐛 优化无权限提示的排版

* 🐛 移除没有必要的命令
2024-09-01 22:32:47 +08:00
felinae98
8a21ca2a1c 🐛 forbid adding platform that needs browser in no-browser env 2024-08-30 10:26:22 +08:00
Azide
32e3bcc022
🐛 修正项目的代码警告 (#614)
* 🐛 调整ruff的pytest警告

* 🐛 调整导入关系警告

* 🐛 删除奇怪无用的赋值和取值逻辑

*  不同测试部分所用变量应加以区分

* 🐛 subs_io model添加默认值

* 🐛 修完所有的 ruff PT001 警告

* 🔧 按ruff建议修改ruff配置

warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`:
  - 'ignore' -> 'lint.ignore'
  - 'select' -> 'lint.select'

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-17 18:24:20 +08:00
4d4d1060de
🐛 查询订阅时提示不存在的平台 (#584)
* 🐛 查询订阅时提示不存在的平台 fix #515

* 💄 auto fix by pre-commit hooks

* 🐛 删除订阅时,获取详细信息跳过不存在的platform

*  添加对于不存在的平台的单元测试

* 🐛 删除订阅时跳过不存在的platform

* 💄 规范化订阅列表的输出

* 💄 规范化订阅列表的输出

* 💄 规范化订阅列表的输出

* 💄 规范化订阅列表的输出

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-03 10:26:58 +08:00
Azide
307739e37a
ParseTargetException可以携带prompt参数 (#479)
*  ParseTargetException可以携带prompt参数

*  丰富prompt提示
2024-05-19 22:02:23 +08:00
Azide
bf788ff72a 🚨 移除noqa: E501
💄 auto fix by pre-commit hooks
2023-07-18 21:43:25 +08:00
Azide
e50eb5d70b 👷 添加ruff actions
🐛 分支应该是main而不是master

💄 auto fix by pre-commit hooks

🔥 dependabot.yml的registrys需要token,先删除
2023-07-18 21:43:25 +08:00
Azide
dba8f2a9cb 🎨 按ruff的检查调整程序代码 2023-07-18 21:43:25 +08:00
felinae98
a1b4f2fb27 🚚 rename config_manager to sub_manager 2023-06-11 15:32:57 +08:00