Skip to content

Commit 636d0f5

Browse files
committed
Add config file
1 parent e7d6917 commit 636d0f5

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.sourcery.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
#####
2+
#
3+
# Sourcery Configuration
4+
#
5+
# All keys are optional and default as shown
6+
#
7+
#####
8+
9+
# Paths to ignore from Sourcery refactorings
10+
#
11+
# Sourcery GitHub Bot always adds .github/workflow/* as the workflows folder
12+
# cannot be updated by bots
13+
#
14+
ignore: []
15+
16+
# Refactoring config
17+
refactor:
18+
# Refactoring ids to skip
19+
#
20+
# These refactorings will never be suggested by Sourcery
21+
skip:
22+
- extract-constant
23+
- order-statements
24+
25+
# Code Metrics configuration - VS Code extension
26+
metrics:
27+
# These are shown at the method level when hovering the mouse
28+
# over the method name.
29+
#
30+
# The quality score is a percentage.
31+
#
32+
# Methods with a quality lower than this threshold will be flagged
33+
# as warnings.
34+
#
35+
quality_threshold: 25.0
36+
37+
38+
39+
clone_detection:
40+
min_lines: 3
41+
min_duplicates: 2
42+
identical_clones_only: false
43+

0 commit comments

Comments
 (0)