setup.cfg 1.0 KB

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