]> jfr.im git - yt-dlp.git/blame_incremental - setup.cfg
fix motherless
[yt-dlp.git] / setup.cfg
... / ...
CommitLineData
1[flake8]
2exclude = build,venv,.tox,.git,.pytest_cache
3ignore = E402,E501,E731,E741,W503
4max_line_length = 120
5per_file_ignores =
6 devscripts/lazy_load_template.py: F401
7
8
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
17[tox:tox]
18skipsdist = true
19envlist = py{38,39,310,311,312},pypy{38,39,310}
20skip_missing_interpreters = true
21
22[testenv] # tox
23deps =
24 pytest
25commands = pytest {posargs:"-m not download"}
26passenv = HOME # For test_compat_expanduser
27setenv =
28 # PYTHONWARNINGS = error # Catches PIP's warnings too
29
30
31[isort]
32py_version = 38
33multi_line_output = VERTICAL_HANGING_INDENT
34line_length = 80
35reverse_relative = true
36ensure_newline_before_comments = true
37include_trailing_comma = true
38known_first_party =
39 test