forked from Delgan/loguru
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
31 lines (26 loc) · 637 Bytes
/
tox.ini
File metadata and controls
31 lines (26 loc) · 637 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
[tox]
skip_missing_interpreters = True
envlist = py{35,36,37,38,py3}
[testenv]
setenv = PYTHONPATH = {toxinidir}
extras = dev
commands =
flake8 --exit-zero loguru tests docs setup.py
pytest --cov loguru/
coverage report -m
[testenv:format]
commands =
isort --profile black -l 100 loguru/
black -l 100 .
[pytest]
addopts = -l
[flake8]
max_line_length = 100
max_doc_length = 100
ignore =
* W503 # Line break before binary operator (PEP8 now recommend to break after binary operator)
* E203 # Whitespace before ":" in slices
exclude =
tests/exceptions/source
[coverage:html]
title = Loguru Coverage