Skip to content

Commit 26882fe

Browse files
committed
Allow Scrutinizer C
I am tired of complexity warnings for non-complex code.
1 parent 47012ba commit 26882fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.scrutinizer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ tools:
2424
timeout: 600
2525

2626
build_failure_conditions:
27-
- 'elements.rating(<= C).new.exists' # No new classes/methods with a rating of C or worse allowed
27+
- 'elements.rating(<= D).new.exists' # No new classes/methods with a rating of D or worse allowed
2828
- 'issues.severity(>= MAJOR).new.exists' # New issues of major or higher severity
2929
- 'project.metric_change("scrutinizer.test_coverage", < 0)' # Code Coverage decreased from previous inspection
3030
- 'patches.label("Unused Use Statements").new.exists' # No new unused imports patches allowed

0 commit comments

Comments
 (0)