-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
47 additions
and
95 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
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 |
---|---|---|
|
@@ -10,8 +10,8 @@ | |
|
||
# The full version, including alpha/beta/rc tags | ||
from sunkit_magex import __version__ | ||
release = __version__ | ||
|
||
release = __version__ | ||
project = "sunkit-magex" | ||
copyright = "2024, The SunPy Community" | ||
author = "The SunPy Community" | ||
|
@@ -73,27 +73,31 @@ | |
from sphinx_gallery.sorting import ExplicitOrder # noqa | ||
|
||
sphinx_gallery_conf = { | ||
"abort_on_example_error": False, | ||
"backreferences_dir": os.path.join("generated", "modules"), | ||
"filename_pattern": "^((?!skip_).)*$", | ||
"ignore_pattern": "helpers.py", | ||
"default_thumb_file": PNG_ICON, | ||
"examples_dirs": os.path.join("..", "examples"), | ||
"subsection_order": ExplicitOrder(["../examples/using_pfsspy", | ||
"../examples/finding_data", | ||
"../examples/utils", | ||
"../examples/internals", | ||
"../examples/testing"]), | ||
"filename_pattern": '^((?!skip_).)*$', | ||
"gallery_dirs": os.path.join("generated", "gallery"), | ||
"ignore_pattern": "helpers.py", | ||
"matplotlib_animations": True, | ||
"default_thumb_file": PNG_ICON, | ||
"abort_on_example_error": False, | ||
"only_warn_on_example_error": True, | ||
"plot_gallery": "True", | ||
"remove_config_comments": True, | ||
"only_warn_on_example_error": True, | ||
"subsection_order": ExplicitOrder([ | ||
"../examples/using_pfsspy", | ||
"../examples/finding_data", | ||
"../examples/utils", | ||
"../examples/internals", | ||
"../examples/testing" | ||
]), | ||
} | ||
|
||
# -- Other options ---------------------------------------------------------- | ||
# JSOC email os env | ||
# see https://github.com/sunpy/sunpy/wiki/Home:-JSOC | ||
|
||
# JSOC email OS ENV | ||
# See https://github.com/sunpy/sunpy/wiki/Home:-JSOC | ||
os.environ["JSOC_EMAIL"] = '[email protected]' | ||
|
||
default_role = 'py:obj' | ||
nitpicky = True |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ name = "sunkit_magex" | |
description = "Solar Magnetic field Extrapollation" | ||
requires-python = ">=3.10" | ||
readme = { file = "README.rst", content-type = "text/x-rst" } | ||
license = { file = "licenses/LICENSE.rst", content-type = "text/plain" } | ||
license = { file = "licenses/LICENSE.rst"} | ||
authors = [ | ||
{ name = "The SunPy Community", email = "[email protected]" }, | ||
] | ||
|
@@ -77,7 +77,24 @@ testpaths = [ | |
] | ||
doctest_plus = "enabled" | ||
text_file_format = "rst" | ||
addopts = "--doctest-rst" | ||
addopts = "--doctest-rst -p no:unraisableexception -p no:threadexception" | ||
filterwarnings = [ | ||
"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 | ||
# 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", | ||
] | ||
|
||
[tool.coverage.run] | ||
omit = [ | ||
|
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,2 +1,3 @@ | ||
from .version import version as __version__ | ||
|
||
__all__ = [] |
This file was deleted.
Oops, something went wrong.
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