-
Notifications
You must be signed in to change notification settings - Fork 87
/
tox.ini
105 lines (94 loc) · 1.5 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[tox]
skip_missing_interpreters = true
envlist =
py{37,38,39,310,311,312}
lint
typing
prospector
[testenv]
deps =
coverage>=5.3
commands =
coverage erase
coverage run -m unittest discover
coverage report -m
[testenv:unittest]
commands = python -m unittest discover
[testenv:pytest]
deps =
pytest>=7.0
pytest-cov>=2.10
commands = pytest --cov bip_utils
[testenv:lint]
deps =
flake8>=3.8
isort[pyproject]>=5
commands =
isort --check-only --diff .
flake8 .
[testenv:typing]
deps =
mypy>=0.900
commands =
mypy .
[testenv:prospector]
deps =
prospector[with_mypy,with_pyroma]>=1.7
commands =
prospector .
#
# Tools configuration
#
[coverage:report]
exclude_lines =
pragma: no cover
@abstract
@overload
[coverage:run]
omit =
bip_utils/ecc/ed25519/lib/ed25519_lib.py
.tox/*
tests/*
venv/*
my_tests/*
[flake8]
ignore =
# Function name should be lowercase
N802
# Line break before binary operator
W503
# Missing whitespace after ':'
E231
exclude =
.eggs
.tox
benchmark
build
docs
examples
readme
tests
venv
my_tests
setup.py
bip_utils/_version.py
max-line-length=120
per-file-ignores =
# Imported but unused
__init__.py: F401
[isort]
profile = black
include_trailing_comma = False
lines_after_imports = 2
line_length = 120
multi_line_output = 5
skip =
.eggs
.tox
benchmark
build
docs
readme
setup.py
venv
my_tests