-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d65d1ee
commit 897f683
Showing
7 changed files
with
251 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,34 @@ | ||
fixes: | ||
- ".*/site-packages/::src/" | ||
# codecov can find this file anywhere in the repo, so we don't need to clutter | ||
# the root folder. | ||
#comment: false | ||
|
||
codecov: | ||
notify: | ||
require_ci_to_pass: no | ||
|
||
coverage: | ||
status: | ||
patch: | ||
default: | ||
target: '70' | ||
if_no_uploads: error | ||
if_not_found: success | ||
if_ci_failed: failure | ||
project: | ||
default: false | ||
library: | ||
target: auto | ||
if_no_uploads: error | ||
if_not_found: success | ||
if_ci_failed: error | ||
paths: '!*/tests/.*' | ||
|
||
tests: | ||
target: 97.9% | ||
paths: '*/tests/.*' | ||
if_not_found: success | ||
|
||
flags: | ||
tests: | ||
paths: | ||
- tests/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,13 @@ | ||
# Configuration of the coverage.py tool for reporting test coverage. | ||
|
||
[report] | ||
# RE patterns for lines to be excluded from consideration. | ||
exclude_lines = | ||
# Have to re-enable the standard pragma | ||
pragma: no cover | ||
# Don't complain if tests don't hit defensive assertion code: | ||
raise AssertionError | ||
raise NotImplementedError | ||
^[ ]*assert False | ||
|
||
# Don't complain if non-runnable code isn't run: | ||
^[ ]*@unittest.skip\b | ||
^[ ]{4}unittest.main() | ||
if __name__ == .__main__.: | ||
|
||
|
||
[run] | ||
source = | ||
diffpy.pdfgui | ||
[report] | ||
omit = | ||
# exclude debug.py from codecov report | ||
*/tests/debug.py | ||
*/python?.?/* | ||
*/site-packages/nose/* | ||
# ignore _version.py and versioneer.py | ||
.*version.* | ||
*_version.py | ||
|
||
exclude_lines = | ||
if __name__ == '__main__': |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1 @@ | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/.travis.yml export-ignore | ||
/conda-recipe/ export-ignore | ||
/devutils export-ignore | ||
.gitarchive.cfg export-subst | ||
*.bat text eol=crlf | ||
diffpy.pdfgui/_version.py export-subst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,99 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Packages | ||
*.egg | ||
*.egg-info | ||
dist | ||
build | ||
eggs | ||
parts | ||
bin | ||
var | ||
sdist | ||
temp | ||
develop-eggs | ||
# Distribution / packaging | ||
.Python | ||
env/ | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
venv/ | ||
*.egg-info/ | ||
.installed.cfg | ||
lib | ||
lib64 | ||
tags | ||
*.egg | ||
bin/ | ||
temp/ | ||
tags/ | ||
errors.err | ||
.idea | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
MANIFEST | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.coverage | ||
.tox | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*,cover | ||
.hypothesis/ | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Mr Developer | ||
.mr.developer.cfg | ||
.project | ||
.pydevproject | ||
|
||
# Django stuff: | ||
*.log | ||
|
||
# Sphinx documentation | ||
docs/build/ | ||
docs/source/generated/ | ||
|
||
# pytest | ||
.pytest_cache/ | ||
|
||
# PyBuilder | ||
target/ | ||
|
||
# Editor files | ||
# mac | ||
.DS_Store | ||
*~ | ||
|
||
# vim | ||
*.swp | ||
*.swo | ||
|
||
# pycharm | ||
.idea/ | ||
|
||
# VSCode | ||
.vscode/ | ||
|
||
# Ipython Notebook | ||
.ipynb_checkpoints | ||
|
||
# version information | ||
setup.cfg | ||
/src/diffpy/*/version.cfg | ||
|
||
# Rever | ||
rever/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.