6 exclude = build,venv,.tox,.git,.pytest_cache
7 ignore = E402,E501,E731,E741,W503
10 devscripts/lazy_load_template.py: F401
11 yt_dlp/utils/__init__.py: F401, F403
15 ignore-init-module-imports = true
16 ignore-pass-after-docstring = true
17 remove-all-unused-imports = true
18 remove-duplicate-keys = true
19 remove-unused-variables = true
23 addopts = -ra -v --strict-markers
30 envlist = py{36,37,38,39,310,311},pypy{36,37,38,39}
31 skip_missing_interpreters = true
36 commands = pytest {posargs:"-m not download"}
37 passenv = HOME # For test_compat_expanduser
39 # PYTHONWARNINGS = error # Catches PIP's warnings too
44 multi_line_output = VERTICAL_HANGING_INDENT
46 reverse_relative = true
47 ensure_newline_before_comments = true
48 include_trailing_comma = true