* Port most of the less invasive/controversial changes from dev-evm-dynamicarguments * Port section of fixes from ethereum.py * Port tests unrelated to concretizing dyn args * Add remaining changes from evm.py * clean, fmt, code climate * rm unnecessary setup * disable?? * fmt * remove all the returns * lol cc * Rm unused code * port to .format * don't use map (for py2/3 compat) * simplify slicing * Rm dyn arg code, since it doesn't really even work and will be included when dev-evm-dynamicarguments is totally resolved * add address/get_uint test * Revert "Rm dyn arg code, since it doesn't really even work" 69188da4caf1ff74288b6398e8140f627dc495c4
66 lines
1.0 KiB
YAML
66 lines
1.0 KiB
YAML
version: "2"
|
|
checks:
|
|
argument-count:
|
|
enabled: true
|
|
config:
|
|
threshold: 7
|
|
complex-logic:
|
|
enabled: true
|
|
config:
|
|
threshold: 4
|
|
file-lines:
|
|
enabled: true
|
|
config:
|
|
threshold: 1000
|
|
method-complexity:
|
|
enabled: true
|
|
config:
|
|
threshold: 25
|
|
method-count:
|
|
enabled: true
|
|
config:
|
|
threshold: 30
|
|
method-lines:
|
|
enabled: true
|
|
config:
|
|
threshold: 50
|
|
nested-control-flow:
|
|
enabled: true
|
|
config:
|
|
threshold: 5
|
|
return-statements:
|
|
enabled: true
|
|
config:
|
|
threshold: 5
|
|
similar-code:
|
|
enabled: true
|
|
config:
|
|
threshold: 100
|
|
identical-code:
|
|
enabled: true
|
|
config:
|
|
threshold: 65
|
|
plugins:
|
|
pep8:
|
|
enabled: true
|
|
checks:
|
|
E712:
|
|
enabled: false
|
|
sonar-python:
|
|
enabled: false
|
|
config:
|
|
minimum_severity: critical
|
|
radon:
|
|
enabled: false
|
|
config:
|
|
python_version: 2
|
|
threshold: "D"
|
|
exclude_patterns:
|
|
- "docs/"
|
|
- "examples/"
|
|
- "scripts/"
|
|
- "tests/"
|
|
- "mcore_*/"
|
|
- ".tox/"
|
|
|