[ie/roosterteeth] Extract ad-free streams (#9355)
[yt-dlp3.git] / setup.cfg
blobaeb4cee58697a861215a439689731812defbb827
1 [flake8]
2 exclude = build,venv,.tox,.git,.pytest_cache
3 ignore = E402,E501,E731,E741,W503
4 max_line_length = 120
5 per_file_ignores =
6     devscripts/lazy_load_template.py: F401
9 [autoflake]
10 ignore-init-module-imports = true
11 ignore-pass-after-docstring = true
12 remove-all-unused-imports = true
13 remove-duplicate-keys = true
14 remove-unused-variables = true
17 [tool:pytest]
18 addopts = -ra -v --strict-markers
19 markers =
20     download
23 [tox:tox]
24 skipsdist = true
25 envlist = py{38,39,310,311,312},pypy{38,39,310}
26 skip_missing_interpreters = true
28 [testenv]  # tox
29 deps =
30     pytest
31 commands = pytest {posargs:"-m not download"}
32 passenv = HOME  # For test_compat_expanduser
33 setenv =
34     # PYTHONWARNINGS = error  # Catches PIP's warnings too
37 [isort]
38 py_version = 38
39 multi_line_output = VERTICAL_HANGING_INDENT
40 line_length = 80
41 reverse_relative = true
42 ensure_newline_before_comments = true
43 include_trailing_comma = true
44 known_first_party =
45     test