mirror of
https://github.com/trailofbits/manticore.git
synced 2026-10-11 22:29:55 +00:00
* 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
73 lines
1.2 KiB
YAML
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"
|
|
|