forked from con/fscacher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
54 lines (47 loc) · 1001 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]
envlist = py36,py37,py38,py39,pypy3
skip_missing_interpreters = True
isolated_build = True
minversion = 3.3.0
[testenv]
deps =
flake8~=3.7
flake8-bugbear
flake8-builtins~=1.4
flake8-import-order-jwodder
pytest~=6.0
pytest-cov~=2.0
pytest-mock~=3.0
commands =
flake8 --config=tox.ini benchmarks src
pytest --pyargs {posargs} fscacher
[testenv:benchmark]
skip_install = True
deps =
asv
virtualenv
commands =
asv run {posargs}
[pytest]
addopts = --cov=fscacher --no-cov-on-fail
filterwarnings = error
norecursedirs = test/data
[coverage:run]
branch = True
parallel = True
[coverage:paths]
source =
src
.tox/*/site-packages
[coverage:report]
precision = 2
show_missing = True
omit = src/fscacher/_version.py
[flake8]
application-import-names = fscacher
doctests = True
exclude = .*/,build/,dist/,test/data,venv/,_version.py
import-order-style = jwodder
max-line-length = 88
select = C,B,B902,B950,E,F,I,W
extend-ignore = B005,E203,I201