Skip to content

Commit 2d63a51

Browse files
author
Curry
committed
chore: add DeepSource configuration
1 parent 80b50be commit 2d63a51

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.deepsource.toml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
version = 1
2+
3+
test_patterns = [
4+
"tests/**",
5+
"test/**",
6+
"**/*test*",
7+
"**/*.test.*",
8+
]
9+
10+
exclude_patterns = [
11+
"node_modules/**",
12+
"dist/**",
13+
"target/**",
14+
"vendor/**",
15+
"build/**",
16+
"coverage/**",
17+
"bundle.js",
18+
"**/bundle.js",
19+
"**/generated/**",
20+
]
21+
22+
[[analyzers]]
23+
name = "python"
24+
enabled = true
25+
26+
[analyzers.meta]
27+
runtime_version = "3.x.x"
28+
max_line_length = 120
29+
cyclomatic_complexity_threshold = "high"

0 commit comments

Comments
 (0)