Skip to content
Snippets Groups Projects
Commit 9f02b99c authored by Lars Bilke's avatar Lars Bilke
Browse files

Added pytest.ini_options

parent 9a217d48
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ SPHINXOPTS ?= -W --keep-going -n -j auto # warnings as errors, parallel build
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build
EXCLUDES = "$(SOURCEDIR)/../**/examples/**" "$(SOURCEDIR)/../**/tests/**"
EXCLUDES = "$(SOURCEDIR)/../**/examples/**" "$(SOURCEDIR)/../tests/**"
APIDOC_ARGS = --force --implicit-namespaces --module-first --separate
# Put it first so that "make" without argument is like "make help".
......
......@@ -9,7 +9,7 @@ if "%SPHINXBUILD%" == "" (
)
set SOURCEDIR=.
set BUILDDIR=_build
set EXCLUDES="%SOURCEDIR%\..\**\examples\**" "%SOURCEDIR%\..\**\tests\**"
set EXCLUDES="%SOURCEDIR%\..\**\examples\**" "%SOURCEDIR%\..\tests\**"
set APIDOC_ARGS=--force --implicit-namespaces --module-first --separate
%SPHINXBUILD% >NUL 2>NUL
......
......@@ -52,6 +52,14 @@ docs = [
"sphinx_gallery",
]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
xfail_strict = true
filterwarnings = ["error"]
log_cli_level = "info"
testpaths = ["tests"]
[tool.black]
line-length = 80
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment