Azide
|
08ad5c288c
|
🧑💻 使用 Ruff 包办所有格式化和检查 (#663)
|
2024-12-17 10:52:21 +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 |
|
Cateon Huo
|
9e5dcb3912
|
✨ 实现 Post.content 相关扩展协议 (#553)
* ✨ `post` 新增 `get_content()` 方法
* 🚨 make linter happy
* 💄 auto fix by pre-commit hooks
* 🐛 fix: 调整函数使用
* 💄 auto fix by pre-commit hooks
* ✨ 转用函数处理文本
* 💄 auto fix by pre-commit hooks
* 🔨 使用`Dict`存储`content_handlers`
* 💄 auto fix by pre-commit hooks
* 🎨 fix
* :arts: 简化函数使用
* 🐛 移除`Theme`的过时参数
* 🗑️ 复用 `self.plain_content`
* 💄 auto fix by pre-commit hooks
* ✨ 注册式装饰器写法
* 💄 auto fix by pre-commit hooks
* 🐛 fix
* 💄 auto fix by pre-commit hooks
* :feat: 通用纯文本处理函数
* 💄 auto fix by pre-commit hooks
* :downgrade: 复用`==`处理标题
* 🎨 简化(?)写法
* ✅ 测试修复
* ♻️ via ContentSupport extensions
* 🐛 fix test
* 💄 auto fix by pre-commit hooks
* 🐛 for clean text
* 🐛 fix
* 💄 auto fix by pre-commit hooks
* fix: for xml
* 💄 auto fix by pre-commit hooks
* chore: art
* 💄 auto fix by pre-commit hooks
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-08-04 18:39:12 +08:00 |
|
Azide
|
b330644b39
|
✅ 使用 MockerFixture 限制测试时配置的变更范围 (#586)
|
2024-07-03 00:11:38 +08:00 |
|
felinae98
|
5bd8b21f19
|
♻️ rename scheduler_config -> site
|
2024-06-03 18:36:07 +08:00 |
|
felinae98
|
2fc11a9653
|
♻️ refactor client of scheduler_config
|
2024-06-03 18:36:07 +08:00 |
|
felinae98
|
cf50e9f288
|
✨ rename bison_theme_use_browser -> bison_use_browser
|
2024-05-07 00:11:14 +08:00 |
|
Azide
|
3d4dca3b21
|
🐛 为各主题添加 repost 的渲染 (#505)
* 🐛 为各主题添加 repost 的渲染
* ✨ 调整渲染结果
* ✅ 更新测试
|
2024-03-21 14:17:25 +08:00 |
|
pre-commit-ci[bot]
|
9b514263aa
|
⬆️ auto update by pre-commit hooks (#465)
* ⬆️ auto update by pre-commit hooks
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.9 → v0.2.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.9...v0.2.0)
- [github.com/psf/black: 23.12.1 → 24.1.1](https://github.com/psf/black/compare/23.12.1...24.1.1)
- [github.com/pre-commit/mirrors-eslint: v9.0.0-alpha.0 → v9.0.0-alpha.2](https://github.com/pre-commit/mirrors-eslint/compare/v9.0.0-alpha.0...v9.0.0-alpha.2)
* 💄 auto fix by pre-commit hooks
* 💄 auto fix by pre-commit hooks
* 🐛 fix some merge error
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Azide <rukuy@qq.com>
|
2024-03-17 17:21:23 +08:00 |
|
AzideCupric
|
5fc5e292c4
|
✨ ✨ 优化 Post 的 __str__ 输出 (#476)
* ✨ 优化Post类的__str__
* ✅ 补充转发测试
|
2024-02-16 09:46:13 +08:00 |
|
Azide
|
f202071e9f
|
✨ 添加 Theme 功能
|
2024-02-16 09:46:13 +08:00 |
|