setup.cfg 861 B

123456789101112131415161718192021222324252627282930313233343536373839
  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{38,39,310,311,312},pypy{38,39,310}
  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 = 38
  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