setup.cfg 784 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. [wheel]
  2. universal = true
  3. [flake8]
  4. exclude = build,venv,.tox,.git,.pytest_cache
  5. ignore = E402,E501,E731,E741,W503
  6. max_line_length = 120
  7. per_file_ignores =
  8. devscripts/lazy_load_template.py: F401
  9. [tool:pytest]
  10. addopts = -ra -v --strict-markers
  11. markers =
  12. download
  13. [tox:tox]
  14. skipsdist = true
  15. envlist = py{36,37,38,39,310},pypy{36,37,38,39}
  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 = 36
  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