Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest disabling ungrouped-imports in FAQ when using isort #9976

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

webknjaz
Copy link
Contributor

@webknjaz webknjaz commented Sep 27, 2024

isort can be pretty flexible about grouping the imports, and sometimes its configuration may be incompatible with not only wrong-imports-order but with the ungrouped-imports rule too.

Type of Changes

Type
📜 Docs

Description

$sbj. This is inspired by #9977.

`isort` can be pretty flexible about grouping the imports, and sometimes its configuration may be incompatible with not only `wrong-imports-order` but with the `ungrouped-imports` rule too.
Copy link

codecov bot commented Sep 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.80%. Comparing base (0972ba5) to head (6ee1154).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #9976   +/-   ##
=======================================
  Coverage   95.80%   95.80%           
=======================================
  Files         174      174           
  Lines       18940    18940           
=======================================
  Hits        18146    18146           
  Misses        794      794           

Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@Pierre-Sassoulas Pierre-Sassoulas added Documentation 📗 Skip news 🔇 This change does not require a changelog entry labels Sep 27, 2024
@Pierre-Sassoulas Pierre-Sassoulas merged commit 8900ccb into pylint-dev:main Sep 27, 2024
29 of 30 checks passed
webknjaz added a commit to webknjaz/ansible--awx-plugins that referenced this pull request Sep 29, 2024
They are handled by `isort` already and it is way more flexible than
PyLint, which reports false-positives.

Refs:
* pylint-dev/pylint#9976
* pylint-dev/pylint#9977
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation 📗 Skip news 🔇 This change does not require a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants