Better project structure

This commit is contained in:
Anthony Sottile 2014-04-12 07:28:25 -07:00
parent f31f092f9b
commit 1746a97e24
52 changed files with 221 additions and 189 deletions

View file

@ -1,19 +1,29 @@
[run]
branch = True
timid = True
source =
.
omit =
.tox/*
/usr/*
*/tmp*
setup.py
[report]
exclude_lines =
# Don't complain about defensive assertions
raise NotImplementedError
raise AssertionError
# Have to re-enable the standard pragma
\#\s*pragma: no cover
# Don't complain about non-runnable code
if __name__ == .__main__.:
# Don't complain if tests don't hit defensive assertion code:
^\s*raise AssertionError\b
^\s*raise NotImplementedError\b
^\s*return NotImplemented\b
^\s*raise$
omit =
/usr/*
py_env/*
*/__init__.py
# Don't complain if non-runnable code isn't run:
^if __name__ == ['"]__main__['"]:$
# Ignore test coverage
tests/*
[html]
directory = coverage-html
# Don't complain about our pre-commit file
pre-commit.py
# vim:ft=dosini