Draft
Fix lint failure by restoring stdlib/third-party import order in functions.py#6
functions.py#6Conversation
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job lint
Fix lint failure by restoring stdlib/third-party import order in Jun 22, 2026
functions.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
lintGitHub Actions job was failing onpylint C0411due to incorrect import grouping/order inadicts/functions.py. This PR aligns the module imports with pylint expectations so thelintcheck no longer fails on import-order violations.Root cause
collections.abc.Mapping(stdlib) was placed afternumpyimports (third-party), triggeringwrong-import-order.Code changes
adicts/functions.pyto keep stdlib imports before third-party imports.