simplex/setup.cfg
Mikael Capelle d994636ab4
All checks were successful
continuous-integration/drone/push Build is passing
[simplex] Fix formatting and typing.
2021-07-08 15:48:02 +02:00

39 lines
637 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 = py{36,37,38},py{36,37,38}-lint
[testenv]
deps =
pytest
commands =
pytest tests
[testenv:py{36,37,38}-lint]
deps =
black
flake8
flake8-black
mypy
isort
commands =
black --check --diff setup.py simplex tests
flake8 simplex tests
mypy simplex tests
isort -c simplex tests setup.py