diff --git a/scripts/fetch-static-files.py b/scripts/fetch-static-files.py index e561a16..db4bad7 100644 --- a/scripts/fetch-static-files.py +++ b/scripts/fetch-static-files.py @@ -68,7 +68,7 @@ def download_npm_package( target_file.write_bytes(f.read()) -def build_version_filter(major: int, stable: bool = True) -> Callable[[str], bool]: +def build_version_filter(major: int) -> Callable[[str], bool]: def f(s: str) -> bool: v = semver.VersionInfo.parse(s) if v.prerelease: