-
Notifications
You must be signed in to change notification settings - Fork 20
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
Showing
14 changed files
with
225 additions
and
154 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
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,32 +1,13 @@ | ||
# Configuration of the coverage.py tool for reporting test coverage. | ||
|
||
[run] | ||
source = | ||
diffpy.utils | ||
[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__.: | ||
omit = | ||
*/python?.?/* | ||
*/site-packages/nose/* | ||
# ignore _version.py and versioneer.py | ||
.*version.* | ||
*_version.py | ||
# ignore wx directory | ||
*/wx/* | ||
|
||
|
||
[run] | ||
source = | ||
src/diffpy/utils/ | ||
omit = | ||
## exclude debug.py from codecov report | ||
*/tests/debug.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
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,49 +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 | ||
|
||
# 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/ | ||
|
||
# PyCharm | ||
.idea/ |
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,15 +1,12 @@ | ||
recursive-include src * | ||
include AUTHORS.txt LICENSE*.txt README.rst | ||
recursive-exclude src *.py[co] | ||
global-exclude .gitattributes .gitignore .gitarchive.cfg | ||
global-exclude .DS_Store | ||
graft src | ||
graft tests | ||
graft requirements | ||
|
||
# Avoid user content in setup.cfg to make distribution reproducible. | ||
exclude setup.cfg | ||
include AUTHORS.rst LICENSE*.rst README.rst | ||
|
||
# Exclude git-tracked files spuriously added by setuptools_scm | ||
exclude .coveragerc | ||
exclude .travis* | ||
prune conda-recipe | ||
prune devutils | ||
prune doc | ||
# Exclude all bytecode files and __pycache__ directories | ||
global-exclude *.py[cod] # Exclude all .pyc, .pyo, and .pyd files. | ||
global-exclude .DS_Store # Exclude Mac filesystem artifacts. | ||
global-exclude __pycache__ # Exclude Python cache directories. | ||
global-exclude .git* # Exclude git files and directories. | ||
global-exclude .idea # Exclude PyCharm project settings. |
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
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.