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