]> jfr.im git - yt-dlp.git/blob - setup.cfg
[cleanup] Misc
[yt-dlp.git] / setup.cfg
1 [wheel]
2 universal = true
3
4 [flake8]
5 exclude = build,venv,.tox,.git
6 ignore = E402,E501,E731,E741,W503
7 per_file_ignores =
8 ./devscripts/lazy_load_template.py: F401
9
10 [tool:pytest]
11 addopts = -ra -v --strict-markers
12 markers =
13 download
14
15 [tox:tox]
16 skipsdist = true
17 envlist = py{36,37,38,39,310},pypy{36,37,38,39}
18 skip_missing_interpreters = true
19
20 [testenv] # tox
21 deps =
22 pytest
23 commands = pytest {posargs:"-m not download"}
24 passenv = HOME # For test_compat_expanduser
25 setenv =
26 # PYTHONWARNINGS = error # Catches PIP's warnings too
27
28 [isort]
29 py_version = 36
30 multi_line_output = VERTICAL_HANGING_INDENT
31 line_length = 80
32 reverse_relative = true
33 ensure_newline_before_comments = true
34 include_trailing_comma = true