Skip to content

Commit fb2d331

Browse files
committed
pre-commit
1 parent d9ce7e9 commit fb2d331

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

conda_forge_tick/migrators/arch.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@
99
get_deps_from_outputs_lut,
1010
make_outputs_lut_from_graph,
1111
)
12-
from conda_forge_tick.migrators.core import GraphMigrator, _sanitized_muids
12+
from conda_forge_tick.migrators.core import GraphMigrator
1313
from conda_forge_tick.os_utils import pushd
1414
from conda_forge_tick.utils import (
1515
as_iterable,
16-
frozen_to_json_friendly,
1716
pluck,
1817
yaml_safe_dump,
1918
yaml_safe_load,
@@ -184,7 +183,8 @@ def filter(self, attrs: "AttrsTypedDict", not_bad_str_start: str = "") -> bool:
184183
configured_arch = (
185184
attrs.get("conda-forge.yml", {}).get("provider", {}).get(arch)
186185
) or (
187-
attrs.get("conda-forge.yml", {}).get("build_platform", {}).get(arch) not in [None, arch]
186+
attrs.get("conda-forge.yml", {}).get("build_platform", {}).get(arch)
187+
not in [None, arch]
188188
)
189189
if not configured_arch:
190190
# This arch is not in provider or build_platform
@@ -351,7 +351,8 @@ def filter(self, attrs: "AttrsTypedDict", not_bad_str_start: str = "") -> bool:
351351
configured_arch = (
352352
attrs.get("conda-forge.yml", {}).get("provider", {}).get(arch)
353353
) or (
354-
attrs.get("conda-forge.yml", {}).get("build_platform", {}).get(arch) not in [None, arch]
354+
attrs.get("conda-forge.yml", {}).get("build_platform", {}).get(arch)
355+
not in [None, arch]
355356
)
356357
if not configured_arch:
357358
# This arch is not in provider or build_platform

0 commit comments

Comments
 (0)