-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setup.cfg: Enforce 100% branch coverage #283
Conversation
Two test classes are renamed to match the coala naming convention. However as the repository does not have 100% coverage fail_under = 100 is omitted manually
A TypeError was being raised if a class attribute with a default had been set to a falsish value. While possible, it is very improbable, and other errors will result.
Creates a list of coverage exceptions in .nocover.yaml which are used in setup.cfg by coverage to ignore them while ensuring any other parts of the code are fully tested. Also rename one function so its signature is on one line as required for coverage to ignore the entire function. Closes coala#282
Travis tests have failedHey @jayvdb, |
jobs: | ||
include: | ||
- *check_moban | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
allow_failures:
- *check_moban
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No ;-)
That is only done on coala & coala-bears as we have lots of eyes on those two repos, and those two repos see enhancements first (like pytest-reqs is only working on coala core repo atm)
These other repos will not be maintained unless moban forces them to sync.
@gitmate-bot ff |
Hey! I'm GitMate.io! This pull request is being fastforwarded automatically. Please DO NOT push while fastforward is in progress or your changes would be lost permanently |
Automated fastforward with GitMate.io was successful! 🎉 |
Closes #282