Skip to content

Commit

Permalink
Add pytest configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mwcraig committed Dec 9, 2023
1 parent 32013a1 commit cc48fa8
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,25 @@ source = "vcs"
# E902 - IOError
select = "E101,W191,W291,W292,W293,W391,E111,E112,E113,E901,E902"
exclude = "extern,sphinx,*parsetab.py,conftest.py,docs/conf.py,setup.py"

[tool.pytest.ini_options]
minversion = 7.0
testpaths = [
"stellarphot",
"docs",
]
norecursedirs = [
"docs[\\/]_build",
"docs[\\/]generated",
]
astropy_header = true
doctest_plus = "enabled"
text_file_format = "rst"
addopts = [
"--color=yes",
"--doctest-rst",
"--strict-config",
"--strict-markers",
]
log_cli_level = "info"
xfail_strict = true

0 comments on commit cc48fa8

Please sign in to comment.