-
Notifications
You must be signed in to change notification settings - Fork 97
/
tox.ini
54 lines (47 loc) · 902 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[tox]
env_list = py38,py39,py310,py311,py312
skip_missing_interpreters = True
package = editable
min_version = 4.0
[testenv]
deps =
-r test_requirements.txt
whitelist_externals =
find
sh
passenv = COVERAGE_FILE
commands =
pytest {posargs}
black --check .
isort --check-only .
flake8 borgmatic tests
codespell
[testenv:black]
commands =
black {posargs} .
[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 .
[testenv:codespell]
deps = {[testenv]deps}
commands =
codespell --write-changes
[flake8]
max-line-length = 100
extend-ignore = E203,E501,W503
exclude = *.*/*
multiline-quotes = '''
docstring-quotes = '''