setup.cfg 854 B

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