Skip to content

Commit

Permalink
Attempt to use coveralls for test coverage monitoring
Browse files Browse the repository at this point in the history
  • Loading branch information
jroovers-cisco committed Oct 2, 2015
1 parent 3226570 commit d390df7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ install:
- "pip install -r requirements.txt"
- "pip install -r test-requirements.txt"
script: "./run_tests.sh && ./run_tests.sh --pep8"
after_success:
- coveralls
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ gitlint-ignore: all
```

```gitlint-ignore: all``` can occur on any line, as long as it is at the start of the line.

**NOTE: gitlint currently does not support disabling \*specific\* rules on a per commit basis**

### Config precedence ###
Expand Down Expand Up @@ -252,18 +253,18 @@ python setup.py --long-description | rst2html.py > output.html
- Checkbox rules: Developers must add a line to the end of the commit specifying that they've considered
a number of aspects when committing the code. E.g.: ```gitlint-checks: tests, documentation```.
This can be useful as a reminder if developers often submit code without updating the documentation or tests.
```gitlint-config: general.ignore=T2, T1.line-length=100``` to the commit message.
- max-lines-change: Maximum lines of change in a single commit (-1 = unlimited)
- ...
- Rules for different attributes of the the commit message: author, date, etc
- More rule options:
- title-must-not-contain-word: case sensitive match
- title-trailing-punctuation: define punctuation
- Config improvements:
- gitlint ignore for specific rules in commit message: ```gitlint-ignore: T2,body-hard-tab```
- Rule improvements:
- body-changed-file-mention: list all files/directories that need to be mentioned as part of the violation
- body-changed-file-mention: distinction between change file and directory in output
- Git hooks:
- appending to an existing hook (after user confirmation)
- Check a range of commit messages at once (similar to how git log works, eg.: ```git log -3```)
- Rules for different attributes of the the commit message: author, date, etc
- Python 3 support
- Developer convenience:
- More unit tests, always more unit tests
- More unit tests, always more unit tests
1 change: 1 addition & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
flake8==2.4.0
coverage==3.7.1
python-coveralls==2.5.0
radon==1.2.1
mock==1.3.0

0 comments on commit d390df7

Please sign in to comment.