Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Jun 27, 2024
1 parent d9ce7e9 commit f215153
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions conda_forge_tick/migrators/arch.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,9 @@
get_deps_from_outputs_lut,
make_outputs_lut_from_graph,
)
from conda_forge_tick.migrators.core import GraphMigrator, _sanitized_muids
from conda_forge_tick.migrators.core import GraphMigrator
from conda_forge_tick.os_utils import pushd
from conda_forge_tick.utils import (
as_iterable,
frozen_to_json_friendly,
pluck,
yaml_safe_dump,
yaml_safe_load,
)
from conda_forge_tick.utils import as_iterable, pluck, yaml_safe_dump, yaml_safe_load

from .migration_yaml import all_noarch

Expand Down Expand Up @@ -184,7 +178,8 @@ def filter(self, attrs: "AttrsTypedDict", not_bad_str_start: str = "") -> bool:
configured_arch = (
attrs.get("conda-forge.yml", {}).get("provider", {}).get(arch)
) or (
attrs.get("conda-forge.yml", {}).get("build_platform", {}).get(arch) not in [None, arch]
attrs.get("conda-forge.yml", {}).get("build_platform", {}).get(arch)
not in [None, arch]
)
if not configured_arch:
# This arch is not in provider or build_platform
Expand Down Expand Up @@ -351,7 +346,8 @@ def filter(self, attrs: "AttrsTypedDict", not_bad_str_start: str = "") -> bool:
configured_arch = (
attrs.get("conda-forge.yml", {}).get("provider", {}).get(arch)
) or (
attrs.get("conda-forge.yml", {}).get("build_platform", {}).get(arch) not in [None, arch]
attrs.get("conda-forge.yml", {}).get("build_platform", {}).get(arch)
not in [None, arch]
)
if not configured_arch:
# This arch is not in provider or build_platform
Expand Down

0 comments on commit f215153

Please sign in to comment.