Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 28 additions & 6 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,8 +1,30 @@
[run]
parallel = True
branch = True
source = $PWD
data_file = $PWD/.coverage
omit =
.tox/*
/usr/*
*/tmp*
*/setup.py
*/upload_appveyor_builds.py

[report]
show_missing = True
exclude_lines =
pragma: no cover
def __repr__
raise TypeError
except UnicodeEncodeError
except KeyboardInterrupt
if __name__ == .__main__.:
# Have to re-enable the standard pragma
\#\s*pragma: no cover

# 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 TypeError\b
^\s*raise$

# Don't complain if non-runnable code isn't run:
^if __name__ == ['"]__main__['"]:$

[html]
directory = coverage-html
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ python:
install:
- pip install -rrequirements-dev.txt coveralls
script:
- coverage run --source sass,sassc,sassutils -m pytest sasstests.py
- COVERAGE_PROCESS_START=$PWD/.coveragerc py.test sasstests.py
- coverage combine
- coverage report
- flake8 .
after_success:
- coveralls
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
-e .
coverage
coverage-enable-subprocess
flake8>=2.4.0
pytest
werkzeug>=0.9
Loading