Files
manticore/.codeclimate.yml
Eric Hennenfent 451965f03a Blacken Manticore (#1438)
* Add black to CI tests

I'd rather have blackening be an optional check, but this will work for now

* Yep, messed up Travis

Again, sorry about the commit spam

* Bump accepted line length to 120

Going to auto-format at 100 but will allow 20% overruns

* Blacken

* Cap line length at 100

rip my undisciplined coding habits

* update black on the fly if necessary

* Ignore CC errors

* Only check modified files

* Only python files

* Re-blacken post merge

* Re-Blacken

* Fix deleted files

* Explicitly invoke python

The +x must not have gotten commited

* Forgot to blacken again

Hoisted on my own petard

* Re-blacken
2019-05-23 15:19:24 -05:00

73 lines
1.2 KiB
YAML

version: "2"
checks:
argument-count:
enabled: true
config:
threshold: 12
complex-logic:
enabled: true
config:
threshold: 4
file-lines:
enabled: true
config:
threshold: 9000
method-complexity:
enabled: false
config:
threshold: 40
method-count:
enabled: false
config:
threshold: 45
method-lines:
enabled: true
config:
threshold: 53
nested-control-flow:
enabled: true
config:
threshold: 10
return-statements:
enabled: true
config:
threshold: 5
similar-code:
enabled: true
config:
threshold: 210
identical-code:
enabled: true
config:
threshold: 65
plugins:
pep8:
enabled: true
checks:
E712:
enabled: false
E701:
enabled: false
E203:
enabled: false
W503:
enabled: false
sonar-python:
enabled: false
config:
minimum_severity: critical
radon:
enabled: false
config:
python_version: 3
threshold: "D"
exclude_patterns:
- "docs/"
- "examples/"
- "scripts/"
- "tests/"
- "mcore_*/"
- ".tox/"
- "manticore/ethereum/parsetab.py"