Skip to content

Commit

Permalink
test: 新增代码扫描屏蔽路径 --story=119495500
Browse files Browse the repository at this point in the history
  • Loading branch information
benero committed Sep 3, 2024
1 parent ae0b61f commit 45ae4dc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
source:
# 测试代码(扫描时排除)
test_source:
filepath_regex: [".*/tests/.*"]
# 工具或框架自动生成的且在代码库中的代码(扫描时排除)
auto_generate_source:
filepath_regex: [".*/migrations/.*", ".*/config/.*"]
# 直接以源码形式存在的第三方代码(扫描时排除)
third_party_source:
filepath_regex: ["support-files/.*", "scripts/.*", "blueking/.*"]

0 comments on commit 45ae4dc

Please sign in to comment.