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