Skip to content

Commit

Permalink
Merge pull request #22 from rakhimov/no-tabs
Browse files Browse the repository at this point in the history
Add check for tabs and trailing spaces in text
  • Loading branch information
rakhimov authored Dec 14, 2016
2 parents 8325970 + 80f6dfa commit 4249bc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ install:
- pip install sphinx sphinx_rtd_theme

script:
- grep -P -n "(\t|\s$)" *.rst mef/*.rst >> _warnings || echo "Great, no tabs or trailing spaces!"
- spell -n -o -d en_us.ascii.add.spl mef/* | grep -v 'bibliography' > _warnings || echo "no spelling errors!"
- grep -P -n "[^[:ascii:]]" mef/* | grep -v 'bibliography' >> _warnings || echo "no non-ASCII chars!"
- make latexpdf > /dev/null || echo "Outdated LaTeX on Ubuntu 14.04 :("
Expand Down

0 comments on commit 4249bc8

Please sign in to comment.