39 lines
781 B
INI
39 lines
781 B
INI
[isort]
|
|
multi_line_output = 3
|
|
include_trailing_comma = True
|
|
force_grid_wrap = 0
|
|
use_parentheses = True
|
|
ensure_newline_before_comments = True
|
|
line_length = 88
|
|
|
|
[flake8]
|
|
max-line-length = 88
|
|
extend-ignore = E203, W503
|
|
|
|
[tox]
|
|
isolated_build = True
|
|
skipsdist = True
|
|
envlist = py36, py37, py38, lint
|
|
|
|
[gh-actions]
|
|
python =
|
|
3.6: py36
|
|
3.7: py37, lint
|
|
3.8: py38
|
|
|
|
[testenv]
|
|
whitelist_externals = poetry
|
|
skip_install = true
|
|
passenv = INCLUDE LIB LIBPATH Platform VCTools* VSCMD_* WindowsSDK*
|
|
commands_pre =
|
|
poetry install
|
|
commands =
|
|
poetry run pytest --cov-report=term --cov-report=xml --cov=src -sv tests
|
|
|
|
[testenv:lint]
|
|
commands =
|
|
poetry run isort -c -rc src tests
|
|
poetry run black --diff src tests
|
|
poetry run flake8 src tests
|
|
poetry run mypy src tests
|