-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modify codecov.yml, remove .coveragerc, add news
- Loading branch information
Showing
5 changed files
with
25 additions
and
54 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,34 +1,14 @@ | ||
# 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: | ||
project: # more options at https://docs.codecov.com/docs/commit-status | ||
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/ | ||
target: auto # use the coverage from the base commit, fail if coverage is lower | ||
threshold: 0% # allow the coverage to drop by | ||
|
||
comment: | ||
layout: " diff, flags, files" | ||
behavior: default | ||
require_changes: false | ||
require_base: false # [true :: must have a base report to post] | ||
require_head: false # [true :: must have a head report to post] | ||
hide_project_coverage: false # [true :: only show coverage on the git diff aka patch coverage] |
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ authors = [ | |
maintainers = [ | ||
{ name="Simon J.L. Billinge group", email="[email protected]" }, | ||
] | ||
description = "A python package implementing the stretched NMF algorithm." | ||
description = "Python package implementing the stretched NMF algorithm." | ||
keywords = ['diffpy', 'PDF'] | ||
readme = "README.rst" | ||
requires-python = ">=3.11, <3.14" | ||
|
@@ -25,9 +25,9 @@ classifiers = [ | |
'Operating System :: Microsoft :: Windows', | ||
'Operating System :: POSIX', | ||
'Operating System :: Unix', | ||
'Programming Language :: Python :: 3.10', | ||
'Programming Language :: Python :: 3.11', | ||
'Programming Language :: Python :: 3.12', | ||
'Programming Language :: Python :: 3.13', | ||
'Topic :: Scientific/Engineering :: Physics', | ||
'Topic :: Scientific/Engineering :: Chemistry', | ||
] | ||
|
@@ -57,7 +57,7 @@ dependencies = {file = ["requirements/pip.txt"]} | |
[tool.codespell] | ||
exclude-file = ".codespell/ignore_lines.txt" | ||
ignore-words = ".codespell/ignore_words.txt" | ||
skip = "*.cif" | ||
skip = "*.cif,*.dat" | ||
|
||
[tool.black] | ||
line-length = 115 | ||
|