Module: check_mk
Branch: master
Commit: 9ed2cfa8f61e201b1f0d1a589b56962ee518ef5a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9ed2cfa8f61e20…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Wed May 30 11:17:02 2018 +0200
Revert pylint test balloon.
There is something strange going on with the init-hook, it doesn't seem to
execute code after extending sys.path. o_O
This reverts commit e51c1c345fdee586e4d4c863ce48c869132b77bb.
Change-Id: Ib1dd8e99f432f2419bf09d63f9d41f00e58229ac
---
Pipfile | 2 +-
Pipfile.lock | 34 ++++++++--------------------------
tests/pylint/pylintrc | 2 +-
3 files changed, 10 insertions(+), 28 deletions(-)
diff --git a/Pipfile b/Pipfile
index db16602..a9efb33 100644
--- a/Pipfile
+++ b/Pipfile
@@ -18,7 +18,7 @@ dill = "*"
bandit = "*"
lockfile = "*"
lxml = "*"
-pylint = "*"
+pylint = "==1.6.4" # Newer version was broken - check again one day
pyenchant = "*"
[packages]
diff --git a/Pipfile.lock b/Pipfile.lock
index 272a4b5..fa97da2 100644
--- a/Pipfile.lock
+++ b/Pipfile.lock
@@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
- "sha256":
"69f55b4a39564eb4adf6f821915689434aa70df52564e0c7edd131137352b92b"
+ "sha256":
"79d10de9cd316fcb769f36d73ad634bf38cd24ce45d6bdd2714912468bbfdd9f"
},
"pipfile-spec": 6,
"requires": {
@@ -595,10 +595,10 @@
"develop": {
"astroid": {
"hashes": [
-
"sha256:032f6e09161e96f417ea7fad46d3fac7a9019c775f202182c22df0e4f714cb1c",
-
"sha256:dea42ae6e0b789b543f728ddae7ddb6740ba33a49fb52c4a4d9cb7bb4aa6ec09"
+
"sha256:944400d94e45865af150fb98700b27b788ddee5ad17c77d0725f67ac271f7a10",
+
"sha256:a483e7891ce3a06dadfc6cb9095b0938aca58940d43576d72e4502b480c085d7"
],
- "version": "==1.6.4"
+ "version": "==1.4.9"
},
"atomicwrites": {
"hashes": [
@@ -694,22 +694,12 @@
"index": "pypi",
"version": "==0.2.7.1"
},
- "enum34": {
- "hashes": [
-
"sha256:2d81cbbe0e73112bdfe6ef8576f2238f2ba27dd0d55752a776c41d38b7da2850",
-
"sha256:644837f692e5f550741432dd3f223bbb9852018674981b1664e5dc339387588a",
-
"sha256:6bd0f6ad48ec2aa117d3d141940d484deccda84d4fcd884f5c3d93c23ecd8c79",
-
"sha256:8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1"
- ],
- "index": "pypi",
- "version": "==1.1.6"
- },
"funcsigs": {
"hashes": [
"sha256:330cc27ccbf7f1e992e69fef78261dc7c6569012cf397db8d3de0234e6c937ca",
"sha256:a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50"
],
- "markers": "python_version < '3.3'",
+ "markers": "python_version < '3.0'",
"version": "==1.0.2"
},
"futures": {
@@ -883,11 +873,11 @@
},
"pylint": {
"hashes": [
-
"sha256:aa519865f8890a5905fa34924fed0f3bfc7d84fc9f9142c16dac52ffecd25a39",
-
"sha256:c353d8225195b37cc3aef18248b8f3fe94c5a6a95affaf885ae21a24ca31d8eb"
+
"sha256:eeeeb81c8095586b417ea0602c01f53d1c87694fcf3c866f8681457f94875a8e",
+
"sha256:ef901a34b62ed7a734370ba5b162d890231ba8822abe88c6dda1268e2575f5f1"
],
"index": "pypi",
- "version": "==1.9.1"
+ "version": "==1.6.4"
},
"pytest": {
"hashes": [
@@ -941,14 +931,6 @@
],
"version": "==3.12"
},
- "singledispatch": {
- "hashes": [
-
"sha256:5b06af87df13818d14f08a028e42f566640aef80805c3b50c5056b086e3c2b9c",
-
"sha256:833b46966687b3de7f438c761ac475213e53b306740f1abfaa86e1d1aae56aa8"
- ],
- "markers": "python_version < '3.4'",
- "version": "==3.4.0.3"
- },
"six": {
"hashes": [
"sha256:70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9",
diff --git a/tests/pylint/pylintrc b/tests/pylint/pylintrc
index 0c4eff1..dadd73e 100644
--- a/tests/pylint/pylintrc
+++ b/tests/pylint/pylintrc
@@ -1,6 +1,6 @@
[MASTER]
# Setup the python paths needed for our tests
-init-hook='import sys, os; test_path = os.environ.get("TEST_PATH",
os.environ["HOME"] + "/git/check_mk/tests"); sys.path.insert(0,
test_path) ; print("############## sys.path = %s" % sys.path); import
conftest'
+init-hook='import sys, os; test_path = os.environ.get("TEST_PATH",
os.environ["HOME"] + "/git/check_mk/tests"); sys.path.insert(0,
test_path) ; import conftest'
#load-plugins=testlib.pylint_cmk,testlib.pylint_checker_wrong_i18n
load-plugins=testlib.pylint_cmk,testlib.pylint_checker_localization
persistent=yes