Skip to content

Commit

Permalink
Feat - Add isort in the pre-commit configuration
Browse files Browse the repository at this point in the history
This is compatible with the current black configuration.
See : psf/black#127
  • Loading branch information
Pierre-Sassoulas committed Mar 9, 2019
1 parent 5073ebd commit d27f820
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d27f820

Please sign in to comment.