forked from joke2k/faker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
45 lines (39 loc) · 750 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
[tox]
envlist=py{35,36,37,38,py3},32bit,flake8,checkmanifest,isort
skip_missing_interpreters = true
[testenv]
deps =
coverage
freezegun<0.4
pytest>=3.8.0,<3.9
random2
ukpostcodeparser>=1.1.1
validators>=0.13.0
commands =
coverage run --source=faker -m pytest
coverage report
[testenv:flake8]
basepython = python
deps =
flake8
flake8-commas
flake8-comprehensions
commands =
flake8 faker tests
[testenv:checkmanifest]
basepython = python
deps =
check-manifest
commands =
check-manifest
[testenv:isort]
deps =
isort
commands =
{envpython} -m isort --check-only --diff
[testenv:32bit]
basepython = python
passenv = TEST_32BIT
commands = ./build32bit.sh
[flake8]
max-line-length = 120