Skip to content

Fix lint job failure by correcting import order in adicts/functions.py - #8

Draft
willayy with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-lint-job-failure-again
Draft

Fix lint job failure by correcting import order in adicts/functions.py#8
willayy with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-lint-job-failure-again

Conversation

Copilot AI commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

The lint GitHub Actions job failed on pylint with wrong-import-order in adicts/functions.py. This PR resolves that CI failure by making the import block conform to standard/third-party grouping rules expected by the repo lint configuration.

  • Root cause

    • collections.abc.Mapping (standard library) was placed after third-party imports (numpy, numpy.typing), triggering C0411.
  • Change made

    • Reordered imports in adicts/functions.py so standard-library imports come before third-party imports.
    • No functional logic changes; this is a lint-compliance-only update.
  • Code update (illustrative)

from collections.abc import Mapping

import numpy as np
from numpy.typing import ArrayLike

Copilot AI changed the title [WIP] Fix failing GitHub Actions job lint Fix lint job failure by correcting import order in adicts/functions.py Jun 22, 2026
Copilot AI requested a review from willayy June 22, 2026 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants