]> jfr.im git - yt-dlp.git/blame - setup.cfg
[extractor/youtube] Revert default formats to `https`
[yt-dlp.git] / setup.cfg
CommitLineData
4056ad8f 1[wheel]
c487cf00 2universal = true
dc9a441b 3
8a82af35 4
dc9a441b 5[flake8]
8a82af35 6exclude = build,venv,.tox,.git,.pytest_cache
19a03940 7ignore = E402,E501,E731,E741,W503
8a82af35 8max_line_length = 120
c487cf00 9per_file_ignores =
8a82af35 10 devscripts/lazy_load_template.py: F401
11
c487cf00 12
2fa669f7 13[autoflake]
14ignore-init-module-imports = true
15ignore-pass-after-docstring = true
16remove-all-unused-imports = true
17remove-duplicate-keys = true
18remove-unused-variables = true
19
20
c487cf00 21[tool:pytest]
22addopts = -ra -v --strict-markers
23markers =
24 download
25
8a82af35 26
c487cf00 27[tox:tox]
28skipsdist = true
edfc7725 29envlist = py{36,37,38,39,310,311},pypy{36,37,38,39}
c487cf00 30skip_missing_interpreters = true
31
32[testenv] # tox
33deps =
edfc7725 34 pytest
c487cf00 35commands = pytest {posargs:"-m not download"}
36passenv = HOME # For test_compat_expanduser
37setenv =
38 # PYTHONWARNINGS = error # Catches PIP's warnings too
39
8a82af35 40
c487cf00 41[isort]
31b532a1 42py_version = 37
c487cf00 43multi_line_output = VERTICAL_HANGING_INDENT
44line_length = 80
45reverse_relative = true
46ensure_newline_before_comments = true
47include_trailing_comma = true
54007a45 48known_first_party =
49 test