26 Commits

Author SHA1 Message Date
felinae98
2fc11a9653 ♻️ refactor client of scheduler_config 2024-06-03 18:36:07 +08:00
pre-commit-ci[bot]
ddc5e0eed7
⬆️ auto update by pre-commit hooks (#521)
* ⬆️ auto update by pre-commit hooks

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.2.0 → v0.3.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.0...v0.3.5)
- [github.com/psf/black: 24.1.1 → 24.3.0](https://github.com/psf/black/compare/24.1.1...24.3.0)
- [github.com/pre-commit/mirrors-eslint: v9.0.0-beta.1 → v9.0.0-rc.0](https://github.com/pre-commit/mirrors-eslint/compare/v9.0.0-beta.1...v9.0.0-rc.0)

* 💄 auto fix by pre-commit hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-02 15:07:29 +08:00
Azide
f202071e9f 添加 Theme 功能 2024-02-16 09:46:13 +08:00
pre-commit-ci[bot]
f6ee4a4c1b
⬆️ auto update by pre-commit hooks (#416)
* ⬆️ auto update by pre-commit hooks

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.292 → v0.1.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.292...v0.1.9)
- [github.com/pycqa/isort: 5.12.0 → 5.13.2](https://github.com/pycqa/isort/compare/5.12.0...5.13.2)
- [github.com/psf/black: 23.9.1 → 23.12.1](https://github.com/psf/black/compare/23.9.1...23.12.1)
- [github.com/pre-commit/mirrors-prettier: v3.0.3 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.3...v4.0.0-alpha.8)
- [github.com/pre-commit/mirrors-eslint: v8.50.0 → v9.0.0-alpha.0](https://github.com/pre-commit/mirrors-eslint/compare/v8.50.0...v9.0.0-alpha.0)

* 💄 auto fix by pre-commit hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-02 10:24:42 +08:00
felinae98
e7dcfdee50
提供批量 api 接口 (#290)
* 🚧 add batch api

* 🚧 support batch in scheduler

*  use batch api in bilibili-live

 patch platform_manager directly

 use batch api in bilibili-live

 patch platform_manager directly

* ♻️ refactor var name

* 🐛 fix test

* 🐛 fix scheduler

* 🐛 fix test
2023-08-29 21:12:42 +08:00
Azide
bf788ff72a 🚨 移除noqa: E501
💄 auto fix by pre-commit hooks
2023-07-18 21:43:25 +08:00
Azide
7d4eb7785c 🎨 按ruff调整测试代码 2023-07-18 21:43:25 +08:00
felinae98
4118329bb0 🚧 remove User type 2023-06-06 03:30:50 +08:00
AzideCupric
7fa31b6060
♻️ 使用更加简约的方法生成mcbbsnews的推送,修改测试用例 (#170)
* change(mcbbsnews):使用更加简约的方法生成mcbbsnews的推送,修改测试用例

test(mcbbsnews):添加测试函数小工具

change(mcbbsnews):优化代码

test(mcbbsnews):调整测试

test(mcbbsnews):完善细节部分

fix(mcbbsnews):修改traceback的import位置

test fix(mcbbsnews):删除错误传参

* fix(mcbbsnews): 更新过时的category名称

feat(platform): 添加新的异常(CategoryNotRecognize), 用以区别已知但不支持的category(CategoryNotSupport)和未知的新增category(CategoryNotRecognize)

chore: 为各处的CategoryNotRecognize和CategoryNotSupport添加异常描述

test(mcbbsnews): 更新测试用文件的过时category名称
2023-02-05 17:09:31 +08:00
felinae98
bd679914eb add context to log http error 2022-11-24 14:12:11 +08:00
felinae98
57c1e504ce
fix platform store init error 2022-10-17 19:59:07 +08:00
felinae98
74b5074f04
inject http client to scheduler 2022-10-16 20:48:14 +08:00
felinae98
0c8a967654
update scheduler api 2022-10-15 00:41:55 +08:00
felinae98
95ef3bd85f
fix test 2022-06-06 10:31:32 +08:00
felinae98
5a492aceb3
format code 2022-02-12 11:22:39 +08:00
felinae98
79799e6d44
Merge branch 'main' into nonebot-b1 2022-02-12 11:21:20 +08:00
felinae98
709a3e214b
format code 2022-02-12 10:20:02 +08:00
felinae98
8d40ba504c
update all test 2022-02-12 00:48:25 +08:00
hemengyang
547be7608f add pre-commit and format files 2022-02-09 21:05:14 +08:00
felinae98
bd02367772
big is comming! 2022-01-19 11:45:06 +08:00
felinae98
4aae3a8c6f
update test 2021-11-17 22:07:11 +08:00
felinae98
8e86fc7f02
fix bugs 2021-08-01 16:15:55 +08:00
felinae98
7b6226a833
add notargetgroup 2021-07-31 12:43:19 +08:00
felinae98
c8f5adc96e
fix emergency bug 2021-06-30 09:15:07 +08:00
felinae98
9e6a9228f6
Add status chage and test 2021-06-29 19:43:06 +08:00
felinae98
7e883f4d2c
reconstruct 2021-06-29 10:33:08 +08:00