diff --git a/nox/_version.py b/nox/_version.py index 811e57bc..10b42c6e 100644 --- a/nox/_version.py +++ b/nox/_version.py @@ -37,7 +37,7 @@ class InvalidVersionSpecifier(Exception): def get_nox_version() -> str: """Return the version of the installed Nox package.""" - return metadata.version("nox") # type: ignore[no-untyped-call, no-any-return] + return metadata.version("nox") def _parse_string_constant(node: ast.AST) -> str | None: # pragma: no cover