Module: check_mk
Branch: master
Commit: 7340cf24b515fca1198c8fe009925d5b9a5db1d2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7340cf24b515fc…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Sat Aug 11 20:23:53 2018 +0200
Prepare use of isort
* Add initial configuration file for isort
* Add isort to development dependencies in Pipfile
Change-Id: I61060be8fff66f0b2618de31704209aa3d22d7a2
---
.isort.cfg | 9 +++++++++
Pipfile | 1 +
Pipfile.lock | 50 +++++++++++++++++++++++---------------------------
3 files changed, 33 insertions(+), 27 deletions(-)
diff --git a/.isort.cfg b/.isort.cfg
new file mode 100644
index 0000000..d4d2f09
--- /dev/null
+++ b/.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
diff --git a/Pipfile b/Pipfile
index 42376b2..d5ea49b 100644
--- a/Pipfile
+++ b/Pipfile
@@ -23,6 +23,7 @@ pyenchant = "*"
yapf = "*"
docker = "*"
mockldap = "*"
+isort = "*"
[packages]
setuptools_scm = "==2.1.0"
diff --git a/Pipfile.lock b/Pipfile.lock
index 6ea5560..04bf3c2 100644
--- a/Pipfile.lock
+++ b/Pipfile.lock
@@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
- "sha256":
"ad338207f5a0bd9c610e5effd84d3dbfcbcef550bf27bccebdaaec9e88c1e6dc"
+ "sha256":
"9d027b0de5bbce378ae775de1d120dfc174fedf2191341a3081512ccb83eba21"
},
"pipfile-spec": 6,
"requires": {
@@ -520,7 +520,6 @@
"sha256:7779a3bbb74e79db234af6a08775568c6769b5821faecf6e2f4143edb227516e"
],
"index": "pypi",
- "markers": "python_version >= '2.7' and
python_version != '3.0.*' and python_version != '3.1.*' and python_version
!= '3.2.*' and python_version != '3.3.*'",
"version": "==16.2.0"
},
"pypdf2": {
@@ -610,7 +609,6 @@
"sha256:ec22d826a36ed72a7358ff3fe56cbd4ba69dd7a6718ffd450ff0e9df7a47ce6a"
],
"index": "pypi",
- "markers": null,
"version": "==2.19.1"
},
"requests-kerberos": {
@@ -734,7 +732,6 @@
"sha256:0ef2bf9f07c3150929b25e8e61b5198c27b0dca195e156f0e4d5bdd89185ca1a",
"sha256:fc9b582dba0366e63540982c3944a9230cbc6f303641c51483fa547dcc22393a"
],
- "markers": "python_version >= '2.6'",
"version": "==1.6.5"
},
"atomicwrites": {
@@ -841,7 +838,6 @@
"sha256:e05cb4d9aad6233d67e0541caa7e511fa4047ed7750ec2510d466e806e0255d6",
"sha256:f3f501f345f24383c0000395b26b726e46758b71393267aeae0bd36f8b3ade80"
],
- "markers": "python_version != '3.2.*' and
python_version != '3.0.*' and python_version != '3.1.*' and python_version
< '4' and python_version >= '2.6'",
"version": "==4.5.1"
},
"dill": {
@@ -853,11 +849,11 @@
},
"docker": {
"hashes": [
-
"sha256:6c4da20ef40e8d3eaf650f1488d91452b9a1128045481d7169fd34665ffa90ee",
-
"sha256:bc693be5a84b3b9e5aaf156068c5c0a445ee5138c638c3fbc857133bf67ebe07"
+
"sha256:31421f16c01ffbd1ea7353c7e7cd7540bf2e5906d6173eb51c8fea4e0ea38b19",
+
"sha256:fbe82af9b94ccced752527c8de07fa20267f9634b48674ba478a0bb4000a0b1e"
],
"index": "pypi",
- "version": "==3.5.0"
+ "version": "==3.5.1"
},
"docker-pycreds": {
"hashes": [
@@ -887,7 +883,7 @@
"sha256:330cc27ccbf7f1e992e69fef78261dc7c6569012cf397db8d3de0234e6c937ca",
"sha256:a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50"
],
- "markers": "python_version < '3.0'",
+ "markers": "python_version < '3.3'",
"version": "==1.0.2"
},
"futures": {
@@ -895,15 +891,15 @@
"sha256:9ec02aa7d674acb8618afb127e27fde7fc68994c0437ad759fa094a574adb265",
"sha256:ec0a6cb848cc212002b9828c3e34c675e0c9ff6741dc445cab6fdd4e1085d1f1"
],
- "markers": "python_version < '3' and python_version
>= '2.6'",
"version": "==3.2.0"
},
"gitdb2": {
"hashes": [
-
"sha256:87783b7f4a8f6b71c7fe81d32179b3c8781c1a7d6fa0c69bff2f315b00aff4f8",
-
"sha256:bb4c85b8a58531c51373c89f92163b92f30f81369605a67cd52d1fc21246c044"
+
"sha256:83361131a1836661a155172932a13c08bda2db3674e4caa32368aa6eb02f38c2",
+
"sha256:e3a0141c5f2a3f635c7209d56c496ebe1ad35da82fe4d3ec4aaa36278d70648a"
],
- "version": "==2.0.4"
+ "markers": "python_version >= '2.7' and
python_version != '3.0.*' and python_version != '3.1.*' and python_version
!= '3.2.*' and python_version != '3.3.*'",
+ "version": "==2.0.5"
},
"gitpython": {
"hashes": [
@@ -942,7 +938,7 @@
"sha256:b9c40e9750f3d77e6e4d441d8b0266cf555e7cdabdcff33c4fd06366ca761ef8",
"sha256:ec9ef8f4a9bc6f71eec99e1806bfa2de401650d996c59330782b89a5555c1497"
],
- "markers": "python_version < '3' and python_version
>= '2.6'",
+ "index": "pypi",
"version": "==4.3.4"
},
"lazy-object-proxy": {
@@ -1072,19 +1068,19 @@
},
"pluggy": {
"hashes": [
-
"sha256:6e3836e39f4d36ae72840833db137f7b7d35105079aee6ec4a62d9f80d594dd1",
-
"sha256:95eb8364a4708392bae89035f45341871286a333f749c3141c20573d2b3876e1"
+
"sha256:447ba94990e8014ee25ec853339faf7b0fc8050cdc3289d4d71f7f410fb90095",
+
"sha256:bde19360a8ec4dfd8a20dcb811780a30998101f078fc7ded6162f0076f50508f"
],
"markers": "python_version >= '2.7' and
python_version != '3.0.*' and python_version != '3.1.*' and python_version
!= '3.2.*' and python_version != '3.3.*'",
- "version": "==0.7.1"
+ "version": "==0.8.0"
},
"py": {
"hashes": [
-
"sha256:06a30435d058473046be836d3fc4f27167fd84c45b99704f2fb5509ef61f9af1",
-
"sha256:50402e9d1c9005d759426988a492e0edaadb7f4e68bcddfea586bc7432d009c6"
+
"sha256:bf92637198836372b520efcba9e020c330123be8ce527e535d185ed4b6f45694",
+
"sha256:e76826342cefe3c3d5f7e8ee4316b80d1dd8a300781612ddbc765c17ba25a6c6"
],
"markers": "python_version >= '2.7' and
python_version != '3.0.*' and python_version != '3.1.*' and python_version
!= '3.2.*' and python_version != '3.3.*'",
- "version": "==1.6.0"
+ "version": "==1.7.0"
},
"pyasn1": {
"hashes": [
@@ -1121,11 +1117,11 @@
},
"pytest": {
"hashes": [
-
"sha256:7e258ee50338f4e46957f9e09a0f10fb1c2d05493fa901d113a8dafd0790de4e",
-
"sha256:9332147e9af2dcf46cd7ceb14d5acadb6564744ddff1fe8c17f0ce60ece7d9a2"
+
"sha256:10e59f84267370ab20cec9305bafe7505ba4d6b93ecbf66a1cce86193ed511d5",
+
"sha256:8c827e7d4816dfe13e9329c8226aef8e6e75d65b939bc74fda894143b6d1df59"
],
"index": "pypi",
- "version": "==3.8.2"
+ "version": "==3.9.1"
},
"pytest-cov": {
"hashes": [
@@ -1180,7 +1176,6 @@
"sha256:ec22d826a36ed72a7358ff3fe56cbd4ba69dd7a6718ffd450ff0e9df7a47ce6a"
],
"index": "pypi",
- "markers": null,
"version": "==2.19.1"
},
"scandir": {
@@ -1218,10 +1213,11 @@
},
"smmap2": {
"hashes": [
-
"sha256:0dd53d991af487f9b22774fa89451358da3607c02b9b886a54736c6a313ece0b",
-
"sha256:dc216005e529d57007ace27048eb336dcecb7fc413cfb3b2f402bb25972b69c6"
+
"sha256:0555a7bf4df71d1ef4218e4807bbf9b201f910174e6e08af2e138d4e517b4dde",
+
"sha256:29a9ffa0497e7f2be94ca0ed1ca1aa3cd4cf25a1f6b4f5f87f74b46ed91d609a"
],
- "version": "==2.0.4"
+ "markers": "python_version >= '2.7' and
python_version != '3.0.*' and python_version != '3.1.*' and python_version
!= '3.2.*' and python_version != '3.3.*'",
+ "version": "==2.0.5"
},
"stevedore": {
"hashes": [