36 lines
571 B
INI
36 lines
571 B
INI
[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
|
|
|
|
[tox:tox]
|
|
envlist = py36,py37,py36-lint
|
|
|
|
[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 |