-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
63 lines (53 loc) · 992 Bytes
/
setup.cfg
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[aliases]
test=pytest
[flake8]
max-line-length = 79
select = C,E,F,W,B,I,N,S,B901,B903
ignore = S101
# S101 (B101) is a major PITA to configure and
# screams a lot in test cases
[tool:pytest]
testspaths = tests
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
def __str__
self.log
raise AssertionError
raise NotImplementedError
if 0:
if False:
skip_covered = True
skip_empty = True
[coverage:run]
omit =
.tox/*
src/paseto/__about__.py
[flake8.bandit]
exclude-dirs = tests
[isort]
force_to_top = gevent.monkey
known_first_party = luma
virtual_env = .venv
[tox:tox]
minversion = 3.16.2
envlist = clean, py35, py36, py37, py38, pypy35
requires = virtualenv >= 20.0
[testenv]
extras = test
depends =
{py*}: clean
commands =
coverage run --parallel-mode -m pytest --strict {posargs}
[testenv:report]
deps = coverage
commands =
-coverage combine
coverage report -m
coverage html
[testenv:clean]
skip_install = True
deps = coverage
commands =
coverage erase