tests/roots/test-ext-autosummary-filename-map/autosummary_dummy_module.py
raw| 1 | from __future__ import annotations |
| 2 | |
| 3 | from os import path |
| 4 | from typing import Union |
| 5 | |
| 6 | |
| 7 | class Foo: |
| 8 | class Bar: # NoQA: D106 |
| 9 | pass |
| 10 | |
| 11 | def __init__(self): |
| 12 | pass |
| 13 | |
| 14 | def bar(self): |
| 15 | pass |
| 16 | |
| 17 | @property |
| 18 | def baz(self): |
| 19 | pass |
| 20 | |
| 21 | |
| 22 | def bar(x: int | str, y: int = 1) -> None: |
| 23 | pass |