setup.cfg 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # -----------------------------------------------------------------------------
  2. # BUILDING WHEELS
  3. # -----------------------------------------------------------------------------
  4. [metadata]
  5. license_files = LICENSE.txt, README.md
  6. [bdist_wheel]
  7. universal = 1
  8. # -----------------------------------------------------------------------------
  9. # FORMATTING AND LINTING
  10. # -----------------------------------------------------------------------------
  11. [flake8]
  12. # Q003 Change outer quotes to avoid escaping inner quotes
  13. # W503 line break before binary operator (preferred way)
  14. ignore = Q003,W503
  15. # flake8-use-fstring
  16. percent-greedy = 0
  17. format-greedy = 2
  18. [tool:isort]
  19. # See https://github.com/timothycrosley/isort/wiki/isort-Settings
  20. # Default values for demonstration purposes
  21. sections = FUTURE,STDLIB,FIRSTPARTY,THIRDPARTY,LOCALFOLDER
  22. lines_between_sections = 1
  23. # -----------------------------------------------------------------------------
  24. # TEST CONFIGURATION
  25. # -----------------------------------------------------------------------------
  26. [tool:pytest]
  27. addopts = -p no:warnings
  28. [testenv]
  29. deps = pytest
  30. commands = python -m pytest tests
  31. [tox:tox]
  32. envlist = py37