setup.cfg 800 B

1234567891011121314151617181920212223242526272829303132
  1. [bdist_wheel]
  2. # This flag says that the code is written to work on both Python 2 and Python
  3. # 3. If at all possible, it is good practice to do this. If you cannot, you
  4. # will need to generate wheels for each Python version that you support.
  5. universal=1
  6. [aliases]
  7. test=pytest
  8. [flake8]
  9. max-line-length=120
  10. exclude=test/*,setup.py,oo-installenv
  11. ignore=E501
  12. [lint]
  13. lint_disable=fixme,locally-disabled,file-ignored,duplicate-code
  14. [tool:pytest]
  15. testpaths = test
  16. norecursedirs =
  17. .*
  18. __pycache__
  19. python_files =
  20. # TODO(rhcarvalho): rename test files to follow a single pattern. "test*.py"
  21. # is Python unittest's default, while pytest discovers both "test_*.py" and
  22. # "*_test.py" by default.
  23. test_*.py
  24. *_tests.py
  25. addopts =
  26. --cov=.
  27. --cov-report=term
  28. --cov-report=html