Skip to content

Commit

Permalink
Merge pull request #10 from abhishek-ram/check-line-endings
Browse files Browse the repository at this point in the history
Check line endings
  • Loading branch information
abhishek-ram authored Jun 12, 2019
2 parents 2a41029 + 4b1d113 commit 972fa7d
Show file tree
Hide file tree
Showing 46 changed files with 725 additions and 523 deletions.
22 changes: 22 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[run]
branch = True
omit =
*/site-packages/*
*/tests/*

[report]
exclude_lines =

# Don't complain about missing debug-only code:
def __repr__
def __str__

# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError
assert

# Don't complain if non-runnable code isn't run:
if 0:
pass
if __name__ == .__main__.:
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,4 @@ ENV/
# IDEA
.idea
.pytest_cache/
.coverage
.DS_Store
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
dist: xenial
language: python
python:
- '3.5'
- '3.6'
- '3.7'
install:
- python setup.py install
- pip install pytest-cov
script:
- pytest --cov=pyas2lib
- pytest --cov=pyas2lib --cov-config .coveragerc
after_success:
- pip install codecov
- codecov
Loading

0 comments on commit 972fa7d

Please sign in to comment.