setup.cfg 828 B

1234567891011121314151617181920212223242526
  1. [tool:pytest]
  2. python_files = test*.py
  3. addopts = --tb=native -p no:doctest -p no:warnings
  4. norecursedirs = bin dist docs htmlcov script hooks node_modules .* {args}
  5. looponfailroots = src tests
  6. selenium_driver = chrome
  7. [flake8]
  8. ignore = F999,E501,E128,E124,E402,W503,E731,C901
  9. max-line-length = 100
  10. exclude = .git,*/south_migrations/*,node_modules/*,src/sentry/static/sentry/vendor/*,docs/*,src/south/*,examples/*
  11. [bdist_wheel]
  12. python-tag = py27
  13. [pep8]
  14. max-line-length = 100
  15. # W690 is wrong (e.g. it causes functools.reduce to be imported, which is not compat with Python 3)
  16. # E700 isnt that important
  17. # E701 isnt that important
  18. # E711 could be incorrect
  19. # E712 could be incorrect
  20. # E721 says "always use isinstance" which is not the same as type()
  21. ignore = W690,E701,E70,E711,E721
  22. aggressive = 1
  23. exclude = */south_migrations/*