Compare commits
14 Commits
master
...
psy_branch
| Author | SHA1 | Date |
|---|---|---|
|
|
258633c33e | 3 months ago |
|
|
054f0bcb39 | 4 months ago |
|
|
0370303714 | 4 months ago |
|
|
a2bc7ab79d | 4 months ago |
|
|
b9a281f432 | 4 months ago |
|
|
69e89cb1a0 | 4 months ago |
|
|
9e66fdfbd5 | 4 months ago |
|
|
d0c22c24fd | 4 months ago |
|
|
9f9daf0a62 | 4 months ago |
|
|
4e90b9facd | 4 months ago |
|
|
d03a08538c | 5 months ago |
|
|
e3e2506921 | 5 months ago |
|
|
96b8cb109a | 5 months ago |
|
|
bc6da78fce | 5 months ago |
Binary file not shown.
|
Before Width: | Height: | Size: 205 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,5 +1,13 @@
|
||||
from django.apps import AppConfig
|
||||
#psy: 统一团队 Python 代码编写标准,减少因风格差异导致的阅读成本和维护难度。
|
||||
#psy: 对齐 PEP 8 核心规范,降低规范违规引发的语法错误、逻辑隐患等质量问题。
|
||||
#psy: 提升代码可读性、可复用性和可扩展性,适配多人协作开发场景。
|
||||
#psy: 为后续代码质量分析(如工具检测、人工核查)提供明确判定依据。
|
||||
|
||||
|
||||
class CommentsConfig(AppConfig):
|
||||
name = 'comments'
|
||||
#psy: 覆盖团队所有 Python 项目,包括新开发项目、开源项目二次开发、旧项目重构。
|
||||
#psy: 适配 Python 3.6 及以上版本,明确版本差异带来的规范调整(如 f-string 语法使用)。
|
||||
#psy: 适用于所有开发环节,包括代码编写、评审、测试、提交及文档配套。
|
||||
#psy: 涵盖所有代码类型,含业务逻辑代码、工具类代码、配置文件、测试用例等。
|
||||
|
||||
Loading…
Reference in new issue