-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from sunpy/cruft/update-1710140757
Updates from the package template
- Loading branch information
Showing
8 changed files
with
96 additions
and
70 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
comment: off | ||
coverage: | ||
status: | ||
project: | ||
default: | ||
threshold: 0.2% | ||
|
||
codecov: | ||
require_ci_to_pass: false | ||
notify: | ||
wait_for_ci: true |
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[run] | ||
omit = | ||
sunkit_magex/conftest.py | ||
sunkit_magex/*setup_package* | ||
sunkit_magex/extern/* | ||
sunkit_magex/version* | ||
*/sunkit_magex/conftest.py | ||
*/sunkit_magex/*setup_package* | ||
*/sunkit_magex/extern/* | ||
*/sunkit_magex/version* | ||
|
||
[report] | ||
exclude_lines = | ||
# Have to re-enable the standard pragma | ||
pragma: no cover | ||
# Don't complain about packages we have installed | ||
except ImportError | ||
# Don't complain if tests don't hit assertions | ||
raise AssertionError | ||
raise NotImplementedError | ||
# Don't complain about script hooks | ||
def main(.*): | ||
# Ignore branches that don't pertain to this version of Python | ||
pragma: py{ignore_python_version} | ||
# Don't complain about IPython completion helper | ||
def _ipython_key_completions_ | ||
# typing.TYPE_CHECKING is False at runtime | ||
if TYPE_CHECKING: | ||
# Ignore typing overloads | ||
@overload |
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
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
[pytest] | ||
minversion = 7.0 | ||
testpaths = | ||
sunkit_magex | ||
docs | ||
norecursedirs = | ||
.tox | ||
build | ||
docs/_build | ||
docs/generated | ||
*.egg-info | ||
examples | ||
sunkit_magex/_dev | ||
.history | ||
sunkit_magex/extern | ||
doctest_plus = enabled | ||
doctest_optionflags = NORMALIZE_WHITESPACE FLOAT_CMP ELLIPSIS | ||
text_file_format = rst | ||
addopts = --doctest-rst -p no:unraisableexception -p no:threadexception | ||
filterwarnings = | ||
# Turn all warnings into errors so they do not pass silently. | ||
error | ||
# Do not fail on pytest config issues (i.e. missing plugins) but do show them | ||
always::pytest.PytestConfigWarning | ||
# A list of warnings to ignore follows. If you add to this list, you MUST | ||
# add a comment or ideally a link to an issue that explains why the warning | ||
# is being ignored | ||
ignore:numpy.ndarray size changed, may indicate binary incompatibility:RuntimeWarning | ||
# This seems to be a transitive faliure we should investigate | ||
ignore:unclosed event loop:ResourceWarning | ||
# https://github.com/pytest-dev/pytest-cov/issues/557 | ||
# It was fixed and released but it does not seem to be fixed | ||
ignore:The --rsyncdir command line argument and rsyncdirs config variable are deprecated.:DeprecationWarning | ||
# https://github.com/pandas-dev/pandas/issues/54466 | ||
# Should stop when pandas 3.0.0 is released | ||
ignore:(?s).*Pyarrow will become a required dependency of pandas:DeprecationWarning | ||
# Can be removed when https://github.com/dateutil/dateutil/issues/1314 is resolved | ||
# deprecated in Python 3.12, needs a release of dateutil 2.8.3 or higher | ||
ignore:datetime.datetime.utcfromtimestamp():DeprecationWarning |
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,4 +1,3 @@ | ||
# Licensed under a 3-clause BSD style license - see LICENSE.rst | ||
""" | ||
This module contains package tests. | ||
""" |
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