Skip to content

Commit 1c0fee8

Browse files
committed
pre-commit
1 parent 74fe47e commit 1c0fee8

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

conda_forge_tick/migrators/arch.py

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,9 @@
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
14-
from conda_forge_tick.utils import (
15-
as_iterable,
16-
frozen_to_json_friendly,
17-
pluck,
18-
yaml_safe_dump,
19-
yaml_safe_load,
20-
)
14+
from conda_forge_tick.utils import as_iterable, pluck, yaml_safe_dump, yaml_safe_load
2115

2216
from .migration_yaml import all_noarch
2317

@@ -184,7 +178,8 @@ def filter(self, attrs: "AttrsTypedDict", not_bad_str_start: str = "") -> bool:
184178
configured_arch = (
185179
attrs.get("conda-forge.yml", {}).get("provider", {}).get(arch)
186180
) or (
187-
attrs.get("conda-forge.yml", {}).get("build_platform", {}).get(arch) not in [None, arch]
181+
attrs.get("conda-forge.yml", {}).get("build_platform", {}).get(arch)
182+
not in [None, arch]
188183
)
189184
if not configured_arch:
190185
# This arch is not in provider or build_platform
@@ -351,7 +346,8 @@ def filter(self, attrs: "AttrsTypedDict", not_bad_str_start: str = "") -> bool:
351346
configured_arch = (
352347
attrs.get("conda-forge.yml", {}).get("provider", {}).get(arch)
353348
) or (
354-
attrs.get("conda-forge.yml", {}).get("build_platform", {}).get(arch) not in [None, arch]
349+
attrs.get("conda-forge.yml", {}).get("build_platform", {}).get(arch)
350+
not in [None, arch]
355351
)
356352
if not configured_arch:
357353
# This arch is not in provider or build_platform

0 commit comments

Comments
 (0)