|
9 | 9 | get_deps_from_outputs_lut, |
10 | 10 | make_outputs_lut_from_graph, |
11 | 11 | ) |
12 | | -from conda_forge_tick.migrators.core import GraphMigrator, _sanitized_muids |
| 12 | +from conda_forge_tick.migrators.core import GraphMigrator |
13 | 13 | 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 |
21 | 15 |
|
22 | 16 | from .migration_yaml import all_noarch |
23 | 17 |
|
@@ -184,7 +178,8 @@ def filter(self, attrs: "AttrsTypedDict", not_bad_str_start: str = "") -> bool: |
184 | 178 | configured_arch = ( |
185 | 179 | attrs.get("conda-forge.yml", {}).get("provider", {}).get(arch) |
186 | 180 | ) 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] |
188 | 183 | ) |
189 | 184 | if not configured_arch: |
190 | 185 | # This arch is not in provider or build_platform |
@@ -351,7 +346,8 @@ def filter(self, attrs: "AttrsTypedDict", not_bad_str_start: str = "") -> bool: |
351 | 346 | configured_arch = ( |
352 | 347 | attrs.get("conda-forge.yml", {}).get("provider", {}).get(arch) |
353 | 348 | ) 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] |
355 | 351 | ) |
356 | 352 | if not configured_arch: |
357 | 353 | # This arch is not in provider or build_platform |
|
0 commit comments