mirror of
https://github.com/trailofbits/manticore.git
synced 2026-10-12 02:23:44 +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
24 lines
464 B
INI
24 lines
464 B
INI
[tox]
|
|
envlist = py3{6,7}
|
|
|
|
[testenv]
|
|
deps =
|
|
.[dev]
|
|
commands = nosetests tests
|
|
install_command = pip install --no-binary keystone-engine {opts} {packages}
|
|
|
|
[testenv:pep8]
|
|
deps = flake8
|
|
commands =
|
|
flake8 .
|
|
|
|
[pep8]
|
|
ignore = E265,E501
|
|
max-line-length = 100
|
|
exclude = docs/,examples/,scripts/,tests/
|
|
|
|
[flake8]
|
|
ignore = E265,E501,F403,F405,E266,E712,F841,E741,E722,E731
|
|
max-line-length = 100
|
|
exclude = .tox,.*.egg,.git,docs/,examples/,scripts/,tests/,iterpickle.py
|