Skip to content

Commit

Permalink
tidy up sunpy
Browse files Browse the repository at this point in the history
  • Loading branch information
nabobalis committed Apr 16, 2024
1 parent a257362 commit 5b69f9b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.tox
.hypothesis
10 changes: 4 additions & 6 deletions sunpy_tst.ini → sunpy_pytest.ini
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
[tool:pytest]
# This is a reduced config to run in this specific CI
[pytest]
testpaths = "sunpy" "docs"
norecursedirs = ".tox" "build" "docs[\/]_build" "docs[\/]generated" "*.egg-info" "examples" "sunpy[/\]_dev" ".jupyter" ".history" "tools" "sunpy[\/]extern" "benchmarks"
norecursedirs = "build" "examples" "sunpy[/\]_dev" "sunpy[\/]extern"
doctest_plus = enabled
doctest_optionflags = NORMALIZE_WHITESPACE FLOAT_CMP ELLIPSIS
addopts = --dist no --arraydiff --doctest-rst --doctest-ignore-import-errors -p no:unraisableexception -p no:threadexception -m "not mpl_image_compare"
addopts = --arraydiff --doctest-rst --doctest-ignore-import-errors -p no:warnings -p no:unraisableexception -p no:threadexception -m "not mpl_image_compare"
asdf_schema_tests_enabled = true
asdf_schema_root = sunpy/io/special/asdf/resources/
mpl-results-path = figure_test_images
mpl-use-full-test-name = True
markers =
remote_data: marks this test function as needing remote data.
online: marks this test function as needing online connectivity.
mpl_image_compare: marks this test function as using hash-based Matplotlib figure verification. This mark is not meant to be directly applied, but is instead automatically applied when a test function uses the @sunpy.tests.helpers.figure_test decorator.
flaky
array_compare
remote_data_strict = True
# We do not care about junit_family or filterwarnings here.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ commands =
reproject,all: pytest --pyargs reproject
specreduce,all: pytest --pyargs specreduce
specutils,all: pytest --pyargs specutils
sunpy,all: pytest --pyargs sunpy -c sunpy_tst.ini
sunpy,all: pytest --pyargs sunpy -c sunpy_pytest.ini

0 comments on commit 5b69f9b

Please sign in to comment.