[extractor/cda] Support premium and misc improvements (#5529)
[yt-dlp3.git] / setup.cfg
blob2def390f5193a23ed238af6d2af4d35292b1c6d4
1 [wheel]
2 universal = true
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
13 [autoflake]
14 ignore-init-module-imports = true
15 ignore-pass-after-docstring = true
16 remove-all-unused-imports = true
17 remove-duplicate-keys = true
18 remove-unused-variables = true
21 [tool:pytest]
22 addopts = -ra -v --strict-markers
23 markers =
24     download
27 [tox:tox]
28 skipsdist = true
29 envlist = py{36,37,38,39,310},pypy{36,37,38,39}
30 skip_missing_interpreters = true
32 [testenv]  # tox
33 deps =
34    pytest
35 commands = pytest {posargs:"-m not download"}
36 passenv = HOME  # For test_compat_expanduser
37 setenv =
38     # PYTHONWARNINGS = error  # Catches PIP's warnings too
41 [isort]
42 py_version = 37
43 multi_line_output = VERTICAL_HANGING_INDENT
44 line_length = 80
45 reverse_relative = true
46 ensure_newline_before_comments = true
47 include_trailing_comma = true
48 known_first_party =
49     test