forked from chornsby/pytest-pikachu
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
41 lines (35 loc) · 688 Bytes
/
Copy pathtox.ini
File metadata and controls
41 lines (35 loc) · 688 Bytes
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
[tox]
envlist = py36,py37,py38,py39
[testenv]
description = Run tests with coverage
commands =
coverage run --branch --include='*/pytest_pikachu/*' --module pytest {posargs:tests}
coverage report
deps = coverage
[testenv:lint]
description = Run linters
commands =
black --check src/pytest_pikachu tests
flake8 src/pytest_pikachu tests
isort --check-only --diff src/pytest_pikachu tests
deps =
black
flake8
isort
[testenv:venv]
description = Set up development environment
basepython = python3.9
commands =
deps =
black
coverage
flake8
isort
envdir = .venv
[flake8]
extend-ignore = E203
max-line-length = 88
[isort]
profile = black
[pytest]
testpaths = tests