forked from andreoliwa/nitpick
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.toml
32 lines (28 loc) · 825 Bytes
/
tox.toml
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
[nitpick.meta]
name = "tox"
url = "https://github.com/tox-dev/tox"
["tox.ini".tox]
# https://tox.readthedocs.io/en/latest/config.html
isolated_build = true
["tox.ini".testenv]
description = "Run tests with pytest and coverage"
extras = "test"
["tox.ini"."coverage:run"]
# https://coverage.readthedocs.io/en/latest/config.html#run
branch = true
parallel = true
source = "src/"
# TODO: fix: deal with multiline INI values in https://github.com/andreoliwa/nitpick/issues/271
#omit = """tests/*
#.tox/*
#*/pypoetry/virtualenvs/*
#"""
# This config is needed by https://github.com/marketplace/actions/coveralls-python#usage
relative_files = true
["tox.ini"."coverage:report"]
# https://coverage.readthedocs.io/en/latest/config.html#report
show_missing = true
precision = 2
skip_covered = true
skip_empty = true
sort = "Cover"