(name: str)
| 99 | |
| 100 | |
| 101 | def __getattr__(name: str) -> Callable[[str], type[ChangelogFormat] | None]: |
| 102 | if name == "guess_changelog_format": |
| 103 | warnings.warn( |
| 104 | "guess_changelog_format is deprecated and will be removed in v5. " |
| 105 | "Use _guess_changelog_format instead.", |
| 106 | DeprecationWarning, |
| 107 | stacklevel=2, |
| 108 | ) |
| 109 | return _guess_changelog_format |
| 110 | raise AttributeError(f"module {__name__} has no attribute {name}") |
nothing calls this directly
no outgoing calls
no test coverage detected