File: pytest.ini

package info (click to toggle)
pytest-mypy-testing 0.1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 268 kB
  • sloc: python: 1,151; sh: 13; makefile: 2
file content (26 lines) | stat: -rw-r--r-- 683 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# SPDX-FileCopyrightText: David Fritzsche
# SPDX-License-Identifier: CC0-1.0
[pytest]
testpaths =
    tests mypy_tests pytest_mypy_testing
addopts =
    --durations=20
    --doctest-continue-on-failure
    --doctest-modules
    --failed-first
    --pyargs
    --showlocals
    -p no:mypy-testing
    --verbose
    --verbose
doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL ELLIPSIS
log_level = DEBUG
junit_family = xunit2

# By default report warnings as errors
filterwarnings =
    error
    # Ignore some Python 3.12 related deprecations
    ignore:datetime.datetime.utc.* is deprecated
    ignore:ast.[A-Za-z]* is deprecated
    ignore:Attribute s is deprecated