diff --git a/.isort.cfg b/.isort.cfg new file mode 100644 index 00000000000..67d409ecbe7 --- /dev/null +++ b/.isort.cfg @@ -0,0 +1,7 @@ +[settings] +multi_line_output=3 +line_length=88 +known_third_party=astroid, sphinx, isort, pytest +include_trailing_comma=True +skip_glob=*/functional/**,*/input/**,*/test/extension/**,*/test/regrtest_data/**,*/test/data/** +project=pylint diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6c750f005af..27ded48b92d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,3 +11,7 @@ repos: hooks: - id: trailing-whitespace - id: end-of-file-fixer +- repo: https://github.com/pre-commit/mirrors-isort + rev: v4.3.13 + hooks: + - id: isort