mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
Meta: Do not use mutable default arguments in ladybird.py
Caught by ruff.
This commit is contained in:
parent
8bfbb944d1
commit
c53ee261dd
Notes:
github-actions[bot]
2025-06-09 15:26:37 +00:00
Author: https://github.com/trflynn89
Commit: c53ee261dd
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5038
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/R-Goc
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue