Skip to content

Commit 042c7cd

Browse files
committed
modify codecov, gitignore
1 parent 543aeda commit 042c7cd

File tree

2 files changed

+75
-18
lines changed

2 files changed

+75
-18
lines changed

.codecov.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ coverage:
1010
status:
1111
patch:
1212
default:
13-
target: '80'
13+
target: '70'
1414
if_no_uploads: error
1515
if_not_found: success
1616
if_ci_failed: failure
@@ -20,12 +20,13 @@ coverage:
2020
target: auto
2121
if_no_uploads: error
2222
if_not_found: success
23-
if_ci_failed: failure
23+
if_ci_failed: error
2424
paths: '!*/tests/.*'
2525

2626
tests:
2727
target: 97.9%
2828
paths: '*/tests/.*'
29+
if_not_found: success
2930

3031
flags:
3132
tests:

.gitignore

Lines changed: 72 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,100 @@
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
4062
.settings
4163

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

0 commit comments

Comments
 (0)