[pytest]
python_files =
  test_*.py
addopts =
  --cov
  --cov-config config/coverage.ini
testpaths =
  tests

# action:message_regex:warning_class:module_regex:line
filterwarnings =
  error
  default::EncodingWarning
  error::EncodingWarning:mkdocstrings
  ignore:.*`get_anchors` method:DeprecationWarning:mkdocstrings
  ignore:.*Importing from:DeprecationWarning:mkdocstrings_handlers
  # TODO: Remove once pytest-xdist 4 is released.
  ignore:.*rsyncdir:DeprecationWarning:xdist
