setup.cfg 874 B

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