Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 12, 2024
1 parent 7cc0bb0 commit b83fb51
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions micropip/package_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@ def _compatible_wheels(
sha256 = hashes.get("sha256")

# Check if the metadata file is available (PEP 658 / PEP-714)
core_metadata: DistributionMetadata = file.get(
"core-metadata"
) or file.get("data-dist-info-metadata")
core_metadata: DistributionMetadata = file.get("core-metadata") or file.get(
"data-dist-info-metadata"
)

# Size of the file in bytes, if available (PEP 700)
# This key is not available in the Simple API HTML response, so this field may be None
Expand Down

0 comments on commit b83fb51

Please sign in to comment.