-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #506 from 0RAJA/feat_code_quality
feat: 处理代码质量问题 --story=121538668
- Loading branch information
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
source: | ||
# 测试代码(扫描时排除) | ||
test_source: | ||
filepath_regex: | ||
filepath_regex: [".*/backend/tests/.*"] | ||
# 工具或框架自动生成的且在代码库中的代码(扫描时排除) | ||
auto_generate_source: | ||
filepath_regex: [".*/migrations/.*"] | ||
filepath_regex: [".*/migrations/.*", ".*/backend/.*pdm.lock"] | ||
# 直接以源码形式存在的第三方代码(扫描时排除) | ||
third_party_source: | ||
filepath_regex: [".*/backend/templates/*", ".*/backend/static/.*"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters