Meta: Do not use mutable default arguments in ladybird.py

Caught by ruff.
This commit is contained in:
Timothy Flynn 2025-06-09 10:39:58 -04:00 committed by Tim Flynn
commit c53ee261dd
Notes: github-actions[bot] 2025-06-09 15:26:37 +00:00

View file

@ -303,7 +303,7 @@ def ensure_ladybird_source_dir() -> Path:
return ladybird_source_dir
def build_main(build_dir: Path, jobs: str | None, target: Optional[str] = None, args: list[str] = []):
def build_main(build_dir: Path, jobs: str | None, target: Optional[str] = None, args: Optional[list[str]] = None):
build_args = ["ninja", "-C", str(build_dir)]
if not jobs: