summaryrefslogtreecommitdiff
path: root/tests/functional/ext/docparams/raise/missing_raises_doc_options.py
blob: eb3cd3ac32df6a9b18dd5f3f6bbc0c758f7fd6c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""Minimal example where a W9006 message is displayed even if the
accept-no-raise-doc option is set to True.

Requires at least one matching section (`Docstring.matching_sections`).

Taken from https://github.com/PyCQA/pylint/issues/7208
"""


def w9006issue(dummy: int):
    """Sample function.

    :param dummy: Unused
    """
    raise AssertionError()