setup.cfg 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. sections = FUTURE,STDLIB,FIRSTPARTY,THIRDPARTY,LOCALFOLDER
  21. # -----------------------------------------------------------------------------
  22. # TEST CONFIGURATION
  23. # -----------------------------------------------------------------------------
  24. [tool:pytest]
  25. addopts = -p no:warnings
  26. [testenv]
  27. deps = pytest
  28. commands = python -m pytest tests
  29. [tox:tox]
  30. envlist = py37