mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update CodeClimate settings
https://codeclimate.com/github/saltstack/salt/pull/51461 had a matching block with mass of 38. Apparently that's too low because that code was not even the same at all. Bumping it up a bit to avoid false positives. Also disable argument count checks because we really don't need that here.
This commit is contained in:
parent
899c80e723
commit
db2392f8a3
1 changed files with 15 additions and 7 deletions
|
@ -1,13 +1,21 @@
|
|||
languages:
|
||||
Ruby: false
|
||||
JavaScript: false
|
||||
Python: true
|
||||
PHP: false
|
||||
version: "2"
|
||||
|
||||
engines:
|
||||
exclude_patterns:
|
||||
- "*.js"
|
||||
- "*.rb"
|
||||
- "*.php"
|
||||
|
||||
plugins:
|
||||
radon:
|
||||
enabled: true
|
||||
exclude_paths:
|
||||
exclude_patterns:
|
||||
- "templates/"
|
||||
config:
|
||||
threshold: "D"
|
||||
|
||||
checks:
|
||||
argument-count:
|
||||
enabled: false
|
||||
similar-code:
|
||||
config:
|
||||
threshold: 40
|
||||
|
|
Loading…
Add table
Reference in a new issue