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:
Wayne Werner 2019-04-10 13:57:20 -05:00 committed by Pedro Algarvio
parent 899c80e723
commit db2392f8a3
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF

View file

@ -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