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