Skip to content

Commit

Permalink
🧪 Disable import order checks in pylint
Browse files Browse the repository at this point in the history
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
  • Loading branch information
webknjaz committed Sep 28, 2024
1 parent d3545a6 commit 072b41b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .pylintrc.toml
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,10 @@ disable = [
"unused-import",
"use-a-generator",
"use-dict-literal",

# Legitimately disabled checks that should not be re-enabled:
"ungrouped-imports", # isort-handled: https://github.com/pylint-dev/pylint/issues/9977
"wrong-import-order", # isort-handled: https://github.com/pylint-dev/pylint/issues/9977
]

# Enable the message, report, category or checker with the given id(s). You can
Expand Down

0 comments on commit 072b41b

Please sign in to comment.