Skip to content

Commit 136e5dd

Browse files
committed
ruff format -- --fix .
1 parent b9268de commit 136e5dd

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

build/update_ext_version.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,7 @@ def main(package_json: pathlib.Path, argv: Sequence[str]) -> None:
8282
if args.build_id:
8383
# If build id is provided it should fall within the 0-INT32 max range
8484
# that the max allowed value for publishing to the Marketplace.
85-
if args.build_id < 0 or (
86-
args.for_publishing and args.build_id > ((2**32) - 1)
87-
):
85+
if args.build_id < 0 or (args.for_publishing and args.build_id > ((2**32) - 1)):
8886
raise ValueError(f"Build ID must be within [0, {(2**32) - 1}]")
8987

9088
package["version"] = ".".join((major, minor, str(args.build_id)))

noxfile.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,12 @@ def download_debugpy_via_pip(session: nox.Session, requests: list[dict]) -> None
184184
abi = req.get("abi")
185185
platforms = req.get("platforms") or []
186186

187-
if python_version is None and implementation is None and abi is None and not platforms:
187+
if (
188+
python_version is None
189+
and implementation is None
190+
and abi is None
191+
and not platforms
192+
):
188193
session.run(*base_args)
189194
continue
190195

0 commit comments

Comments
 (0)