Skip to content

Commit

Permalink
Restore pytest configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mwcraig committed Aug 11, 2024
1 parent 591f578 commit b266531
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,35 @@ include = [
# Ignore branches that don't pertain to this version of Python
"pragma: py{ignore_python_version}",
]

[tool.pytest.ini_options]
minversion = 7.0
testpaths = [
"ccdproc",
"docs",
]
norecursedirs = [
"docs[\\/]_build",
"docs[\\/]generated",
]
astropy_header = true
doctest_plus = "enabled"
text_file_format = "rst"
remote_data_strict = true
addopts = [
"--doctest-rst",
"--color=yes",
]
log_cli_level = "info"
xfail_strict = true
filterwarnings= [
"error",
"ignore:numpy\\.ufunc size changed:RuntimeWarning",
"ignore:numpy.ndarray size changed:RuntimeWarning",
"ignore:`np.bool` is a deprecated alias for the builtin `bool`:DeprecationWarning",
]
markers = [
"data_size(N): set dimension of square data array for ccd_data fixture",
"data_scale(s): set the scale of the normal distribution used to generate data",
"data_mean(m): set the center of the normal distribution used to generate data",
]

0 comments on commit b266531

Please sign in to comment.