Skip to content

Fix pylint import-order violation in adicts/functions.py - #4

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

Fix pylint import-order violation in adicts/functions.py#4
willayy with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-lint-job-failure

Conversation

Copilot AI commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

The lint GitHub Actions job failed due to a pylint wrong-import-order violation in adicts/functions.py. This PR applies a minimal, targeted fix to restore compliance with the repository’s lint rules.

  • Root cause

    • collections.abc.Mapping (stdlib) was placed after third-party imports (numpy, numpy.typing), which violates pylint import ordering.
  • Code change

    • Reordered imports in adicts/functions.py so standard-library imports are grouped before third-party imports.
    • No functional logic changes to dictionary operation implementations.
  • Resulting import layout

from typing import TypeVar, Callable
from collections.abc import Mapping

import numpy as np
import numpy.typing as npt

Copilot AI changed the title [WIP] Fix failing GitHub Actions job lint Fix pylint import-order violation in adicts/functions.py Jun 22, 2026
Copilot AI requested a review from willayy June 22, 2026 12:01
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