borgmatic/tox.ini

55 lines
902 B
INI
Raw Normal View History

[tox]
2023-11-07 10:17:55 -08:00
env_list = py38,py39,py310,py311,py312
2019-05-14 12:19:56 -07:00
skip_missing_interpreters = True
package = editable
min_version = 4.0
[testenv]
deps =
-r test_requirements.txt
whitelist_externals =
find
sh
passenv = COVERAGE_FILE
commands =
2019-05-19 23:53:32 +02:00
pytest {posargs}
black --check .
isort --check-only .
flake8 borgmatic tests
2023-04-01 11:03:59 -07:00
codespell
[testenv:black]
commands =
black {posargs} .
2019-05-19 13:07:18 +02:00
[testenv:test]
commands =
pytest {posargs}
[testenv:end-to-end]
package = editable
deps =
-r test_requirements.txt
pymongo==4.4.1
.
pass_env = COVERAGE_FILE
commands =
pytest {posargs} --no-cov tests/end-to-end
[testenv:isort]
deps = {[testenv]deps}
commands =
isort .
2023-04-01 11:03:59 -07:00
[testenv:codespell]
deps = {[testenv]deps}
commands =
codespell --write-changes
2024-10-26 20:11:39 +02:00
[flake8]
max-line-length = 100
extend-ignore = E203,E501,W503
exclude = *.*/*
multiline-quotes = '''
docstring-quotes = '''