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 fb2d331
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions conda_forge_tick/migrators/arch.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@
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,
Expand Down Expand Up @@ -184,7 +183,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 +351,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 fb2d331

Please sign in to comment.