aboutsummaryrefslogtreecommitdiffstats
path: root/setup.cfg
blob: 4780ee95b7a74c183dcf24379ba9812ae63a7dd7 (plain)
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
[wheel]
universal = true

[flake8]
exclude = build,venv,.tox,.git
ignore = E402,E501,E731,E741,W503
per_file_ignores =
    ./devscripts/lazy_load_template.py: F401

[tool:pytest]
addopts = -ra -v --strict-markers
markers =
    download

[tox:tox]
skipsdist = true
envlist = py{36,37,38,39,310},pypy{36,37,38,39}
skip_missing_interpreters = true

[testenv]  # tox
deps =
   pytest
commands = pytest {posargs:"-m not download"}
passenv = HOME  # For test_compat_expanduser
setenv =
    # PYTHONWARNINGS = error  # Catches PIP's warnings too

[isort]
py_version = 36
multi_line_output = VERTICAL_HANGING_INDENT
line_length = 80
reverse_relative = true
ensure_newline_before_comments = true
include_trailing_comma = true