Skip to content

Commit

Permalink
Prepare use of isort
Browse files Browse the repository at this point in the history
* Add initial configuration file for isort
* Add isort to development dependencies in Pipfile

Change-Id: I61060be8fff66f0b2618de31704209aa3d22d7a2
  • Loading branch information
LarsMichelsen committed Oct 19, 2018
1 parent 2d42472 commit 516d1f4
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 27 deletions.
9 changes: 9 additions & 0 deletions .isort.cfg
@@ -0,0 +1,9 @@
# See http://timothycrosley.github.io/isort/
[settings]
line_length=99
known_first_party=cmk_base,cmk,livestatus,omd
indent=4
use_parentheses=1
include_trailing_comma=1
# Use vertical hanging indent (see https://github.com/timothycrosley/isort#multi-line-output-modes)
multi_line_output=3
1 change: 1 addition & 0 deletions Pipfile
Expand Up @@ -23,6 +23,7 @@ pyenchant = "*"
yapf = "*"
docker = "*"
mockldap = "*"
isort = "*"

[packages]
setuptools_scm = "==2.1.0"
Expand Down
50 changes: 23 additions & 27 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 516d1f4

Please sign in to comment.