Skip to content

Commit 897f683

Browse files
authored
files (#158)
1 parent d65d1ee commit 897f683

File tree

7 files changed

+251
-125
lines changed

7 files changed

+251
-125
lines changed

.codecov.yml

+34-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,34 @@
1-
fixes:
2-
- ".*/site-packages/::src/"
1+
# codecov can find this file anywhere in the repo, so we don't need to clutter
2+
# the root folder.
3+
#comment: false
4+
5+
codecov:
6+
notify:
7+
require_ci_to_pass: no
8+
9+
coverage:
10+
status:
11+
patch:
12+
default:
13+
target: '70'
14+
if_no_uploads: error
15+
if_not_found: success
16+
if_ci_failed: failure
17+
project:
18+
default: false
19+
library:
20+
target: auto
21+
if_no_uploads: error
22+
if_not_found: success
23+
if_ci_failed: error
24+
paths: '!*/tests/.*'
25+
26+
tests:
27+
target: 97.9%
28+
paths: '*/tests/.*'
29+
if_not_found: success
30+
31+
flags:
32+
tests:
33+
paths:
34+
- tests/

.coveragerc

+11-20
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
1-
# Configuration of the coverage.py tool for reporting test coverage.
2-
3-
[report]
4-
# RE patterns for lines to be excluded from consideration.
5-
exclude_lines =
6-
# Have to re-enable the standard pragma
7-
pragma: no cover
8-
# Don't complain if tests don't hit defensive assertion code:
9-
raise AssertionError
10-
raise NotImplementedError
11-
^[ ]*assert False
12-
13-
# Don't complain if non-runnable code isn't run:
14-
^[ ]*@unittest.skip\b
15-
^[ ]{4}unittest.main()
16-
if __name__ == .__main__.:
17-
18-
191
[run]
2+
source =
3+
diffpy.pdfgui
4+
[report]
205
omit =
21-
# exclude debug.py from codecov report
22-
*/tests/debug.py
6+
*/python?.?/*
7+
*/site-packages/nose/*
8+
# ignore _version.py and versioneer.py
9+
.*version.*
10+
*_version.py
11+
12+
exclude_lines =
13+
if __name__ == '__main__':

.gitattributes

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1 @@
1-
/.gitattributes export-ignore
2-
/.gitignore export-ignore
3-
/.travis.yml export-ignore
4-
/conda-recipe/ export-ignore
5-
/devutils export-ignore
6-
.gitarchive.cfg export-subst
7-
*.bat text eol=crlf
1+
diffpy.pdfgui/_version.py export-subst

.gitignore

+72-17
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,99 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
13
*.py[cod]
4+
*$py.class
25

36
# C extensions
47
*.so
58

6-
# Packages
7-
*.egg
8-
*.egg-info
9-
dist
10-
build
11-
eggs
12-
parts
13-
bin
14-
var
15-
sdist
16-
temp
17-
develop-eggs
9+
# Distribution / packaging
10+
.Python
11+
env/
12+
build/
13+
develop-eggs/
14+
dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
venv/
24+
*.egg-info/
1825
.installed.cfg
19-
lib
20-
lib64
21-
tags
26+
*.egg
27+
bin/
28+
temp/
29+
tags/
2230
errors.err
23-
.idea
31+
32+
# PyInstaller
33+
# Usually these files are written by a python script from a template
34+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
35+
*.manifest
36+
*.spec
2437

2538
# Installer logs
2639
pip-log.txt
40+
pip-delete-this-directory.txt
2741
MANIFEST
2842

2943
# Unit test / coverage reports
44+
htmlcov/
45+
.tox/
3046
.coverage
31-
.tox
47+
.coverage.*
48+
.cache
3249
nosetests.xml
50+
coverage.xml
51+
*,cover
52+
.hypothesis/
3353

3454
# Translations
3555
*.mo
56+
*.pot
3657

3758
# Mr Developer
3859
.mr.developer.cfg
3960
.project
4061
.pydevproject
4162

63+
# Django stuff:
64+
*.log
65+
66+
# Sphinx documentation
67+
docs/build/
68+
docs/source/generated/
69+
70+
# pytest
71+
.pytest_cache/
72+
73+
# PyBuilder
74+
target/
75+
76+
# Editor files
77+
# mac
78+
.DS_Store
79+
*~
80+
81+
# vim
82+
*.swp
83+
*.swo
84+
85+
# pycharm
86+
.idea/
87+
88+
# VSCode
89+
.vscode/
90+
91+
# Ipython Notebook
92+
.ipynb_checkpoints
93+
4294
# version information
4395
setup.cfg
4496
/src/diffpy/*/version.cfg
97+
98+
# Rever
99+
rever/

CHANGELOG.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
=========================
2-
Diffpy.pdfgui Change Log
3-
=========================
1+
=============
2+
Release Notes
3+
=============
44

55
.. current developments
66

0 commit comments

Comments
 (0)