]> jfr.im git - yt-dlp.git/blame - setup.cfg
[cleanup] Consistent style for file heads
[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
13[tool:pytest]
14addopts = -ra -v --strict-markers
15markers =
16 download
17
8a82af35 18
c487cf00 19[tox:tox]
20skipsdist = true
21envlist = py{36,37,38,39,310},pypy{36,37,38,39}
22skip_missing_interpreters = true
23
24[testenv] # tox
25deps =
26 pytest
27commands = pytest {posargs:"-m not download"}
28passenv = HOME # For test_compat_expanduser
29setenv =
30 # PYTHONWARNINGS = error # Catches PIP's warnings too
31
8a82af35 32
c487cf00 33[isort]
34py_version = 36
35multi_line_output = VERTICAL_HANGING_INDENT
36line_length = 80
37reverse_relative = true
38ensure_newline_before_comments = true
39include_trailing_comma = true
54007a45 40known_first_party =
41 test