diff --git a/scripts/script_utils/lock_deps.py b/scripts/script_utils/lock_deps.py index b5f83aa..f800d14 100644 --- a/scripts/script_utils/lock_deps.py +++ b/scripts/script_utils/lock_deps.py @@ -17,14 +17,13 @@ import re from pathlib import Path -from typing import Optional from packaging.requirements import Requirement def get_lock_file_deps( lock_file_path: Path, - exclude: Optional[set[str]] = None, + exclude: set[str] | None = None, ) -> list[Requirement]: """Inspect the lock file to get the dependencies.