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