mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00

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.
21 lines
273 B
YAML
21 lines
273 B
YAML
version: "2"
|
|
|
|
exclude_patterns:
|
|
- "*.js"
|
|
- "*.rb"
|
|
- "*.php"
|
|
|
|
plugins:
|
|
radon:
|
|
enabled: true
|
|
exclude_patterns:
|
|
- "templates/"
|
|
config:
|
|
threshold: "D"
|
|
|
|
checks:
|
|
argument-count:
|
|
enabled: false
|
|
similar-code:
|
|
config:
|
|
threshold: 40
|