fastapi_celery/tasks.txt
2025-12-25 16:43:26 +08:00

14 lines
497 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

1. 使用makefile管理安装和启动服务
2. 封装loguru涉及到log时 统一用loguru打印并保存日志
3. docker中涉及到apt、pip、uv 更新或安装时 使用阿里云镜像
4. 使用uv替代pip
5. 每个项目都需要安装并使用pre-commit使用ruff检测并格式化代码其中pyproject.toml的内容为
```
[tool.ruff]
# 显式禁用 E501虽然默认已禁
ignore = ["E501"]
# 或设置更宽松的行长度(影响 ruff format
line-length = 120
```