Skip to content

Commit 81b3c03

Browse files
committed
git, codecov, cfgs, news dir, MANIFEST
1 parent 4bf46d2 commit 81b3c03

9 files changed

+117
-90
lines changed

.codecov.yml

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,14 @@
1-
fixes:
2-
- ".*/site-packages/::src/"
1+
coverage:
2+
status:
3+
project: # more options at https://docs.codecov.com/docs/commit-status
4+
default:
5+
target: auto # use the coverage from the base commit, fail if coverage is lower
6+
threshold: 0% # allow the coverage to drop by
7+
8+
comment:
9+
layout: " diff, flags, files"
10+
behavior: default
11+
require_changes: false
12+
require_base: false # [true :: must have a base report to post]
13+
require_head: false # [true :: must have a head report to post]
14+
hide_project_coverage: false # [true :: only show coverage on the git diff aka patch coverage]

.codespell/ignore_words.txt

-9
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,6 @@ socio-economic
1010
;; Frobenius norm used in np.linalg.norm
1111
fro
1212

13-
;; abbreviation for "structure"
14-
struc
15-
16-
;; method name within JournalPanel class
17-
onText
18-
19-
;; a method name within JournalPanel class
20-
delt
21-
2213
;; structure file format
2314
discus
2415

.coveragerc

-22
This file was deleted.

.gitarchive.cfg

-5
This file was deleted.

.gitattributes

-7
This file was deleted.

.gitignore

+69-29
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,92 @@
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
2331

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
37+
2438
# Installer logs
2539
pip-log.txt
40+
pip-delete-this-directory.txt
2641
MANIFEST
2742

2843
# Unit test / coverage reports
44+
htmlcov/
45+
.tox/
2946
.coverage
30-
.tox
47+
.coverage.*
48+
.cache
3149
nosetests.xml
50+
coverage.xml
51+
*,cover
52+
.hypothesis/
3253

3354
# Translations
3455
*.mo
56+
*.pot
3557

3658
# Mr Developer
3759
.mr.developer.cfg
3860
.project
3961
.pydevproject
40-
.settings
41-
42-
# SCons build files
43-
.gdb_history
44-
.sconf_temp/
45-
.sconsign.dblite
46-
config.log
47-
/sconscript.local
48-
/sconsvars.py
49-
50-
# version information
51-
setup.cfg
52-
/src/diffpy/*/version.cfg
62+
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

MANIFEST.in

+10-15
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
1-
recursive-include src *
2-
include SConstruct
3-
include AUTHORS.txt LICENSE*.txt README.rst
4-
recursive-exclude src *.pyc *.so
5-
global-exclude .gitattributes .gitignore .gitarchive.cfg
6-
global-exclude .DS_Store
1+
graft src
2+
graft tests
3+
graft requirements
74

8-
# Avoid user content in setup.cfg to make distribution reproducible.
9-
exclude setup.cfg
5+
include AUTHORS.rst LICENSE*.rst README.rst
106

11-
# Exclude git-tracked files spuriously added by setuptools_scm
12-
exclude .coveragerc
13-
exclude .travis*
14-
prune conda-recipe
15-
prune devutils
16-
prune doc
17-
prune examples
7+
# Exclude all bytecode files and __pycache__ directories
8+
global-exclude *.py[cod] # Exclude all .pyc, .pyo, and .pyd files.
9+
global-exclude .DS_Store # Exclude Mac filesystem artifacts.
10+
global-exclude __pycache__ # Exclude Python cache directories.
11+
global-exclude .git* # Exclude git files and directories.
12+
global-exclude .idea # Exclude PyCharm project settings.

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: diffpy.pdfgui
1+
name: diffpy.srreal
22
channels:
33
- conda-forge
44
dependencies:

news/TEMPLATE.rst

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**Added:**
2+
3+
* <news item>
4+
5+
**Changed:**
6+
7+
* <news item>
8+
9+
**Deprecated:**
10+
11+
* <news item>
12+
13+
**Removed:**
14+
15+
* <news item>
16+
17+
**Fixed:**
18+
19+
* <news item>
20+
21+
**Security:**
22+
23+
* <news item>

0 commit comments

Comments
 (0)