2019-11-28 15:53:00 +00:00
|
|
|
[flake8]
|
|
|
|
# Use black line length:
|
|
|
|
max-line-length = 88
|
|
|
|
extend-ignore =
|
|
|
|
# See https://github.com/PyCQA/pycodestyle/issues/373
|
|
|
|
E203,
|
|
|
|
|
|
|
|
[mypy]
|
|
|
|
warn_return_any = True
|
|
|
|
warn_unused_configs = True
|
|
|
|
|
|
|
|
[mypy-pytest.*]
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
|
|
|
[mypy-IPython.*]
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
2019-12-03 09:51:36 +00:00
|
|
|
[tox:tox]
|
|
|
|
envlist = py36,py37,py36-lint
|
2019-11-28 15:53:00 +00:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps =
|
|
|
|
pytest
|
|
|
|
commands =
|
|
|
|
pytest tests
|
|
|
|
|
|
|
|
[testenv:py36-lint]
|
|
|
|
deps =
|
|
|
|
black
|
|
|
|
flake8
|
|
|
|
flake8-black
|
|
|
|
mypy
|
|
|
|
commands =
|
|
|
|
black --check --diff setup.py simplex tests
|
|
|
|
flake8 simplex tests
|
|
|
|
mypy simplex tests
|