1[tox]
2envlist = pypy3,py36,py37,py38,pep8,packaging,mypy
3isolated_build = True
4
5[testenv]
6extras =
7    tests
8deps =
9    coverage
10commands =
11    coverage run -m pytest --strict {posargs}
12    coverage report -m --fail-under 100
13
14[testenv:pep8]
15deps =
16    black
17    flake8
18    flake8-import-order
19    pep8-naming
20commands =
21    flake8 .
22    black --check .
23
24[testenv:mypy]
25deps =
26    mypy
27commands =
28    mypy src/bcrypt
29
30[testenv:packaging]
31deps =
32    check-manifest
33    readme_renderer
34commands =
35    check-manifest
36    python setup.py check --metadata --restructuredtext --strict
37
38
39[flake8]
40ignore = E203,E211,E501,W503,W504
41exclude = .tox,*.egg
42select = E,W,F,N,I
43application-import-names = bcrypt,tests
44