-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtox.ini
More file actions
38 lines (33 loc) · 740 Bytes
/
Copy pathtox.ini
File metadata and controls
38 lines (33 loc) · 740 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
[flake8]
extend-ignore = E501, C901
exclude =
.git,
.venv,
.tox,
__pycache__,
build,
dist
# line length is intentionally set to 80 here because black uses Bugbear
# See https://github.com/psf/black/blob/master/docs/the_black_code_style.md#line-length for more details
max-line-length = 80
max-complexity = 18
select = B,C,E,F,W,T4,B9
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
[pytest]
norecursedirs = .grainy .ctl .tox .venv data gen
[tox]
envlist = py{37,38,39,310}
isolated_build = True
[testenv]
whitelist_externals = poetry
extras = dev
deps =
poetry
commands =
poetry install -v
poetry run pytest tests/ --cov="{envsitepackagesdir}/grainy" --cov-report=xml