diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | .gitlab-ci.yml | 4 | ||||
-rw-r--r-- | mapreduce/.pylintrc | 10 | ||||
-rw-r--r-- | mapreduce/Pipfile | 1 | ||||
-rw-r--r-- | mapreduce/Pipfile.lock | 148 |
5 files changed, 123 insertions, 41 deletions
@@ -23,6 +23,7 @@ src/build/ !.coveragerc !.gitlab-ci.yml +!.pylintrc # Don't ignore this file itself !.gitignore diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eb052d5..45c585c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,14 +3,14 @@ before_script: - apt update -qy - apt install -y python3-dev python3-pip python3-wheel libjpeg-dev - pip3 install pipenv - - pipenv -v + - pipenv --version test_mapreduce: script: - cd mapreduce - pipenv install --dev --deploy - pipenv run pytest - #- pipenv run flake8 + - pipenv run pylint *.py test_pig: script: diff --git a/mapreduce/.pylintrc b/mapreduce/.pylintrc new file mode 100644 index 0000000..2ec9967 --- /dev/null +++ b/mapreduce/.pylintrc @@ -0,0 +1,10 @@ +[MESSAGES CONTROL] +disable=C0323,W0142,C0301,C0103,C0111,E0213,C0302,C0203,W0703,R0201,W0223 + +[REPORTS] +output-format=colorized +include-ids=yes + +[MISCELLANEOUS] +# List of note tags to take in consideration, separated by a comma. +notes=FIXME,XXX diff --git a/mapreduce/Pipfile b/mapreduce/Pipfile index fea2f28..81cdea1 100644 --- a/mapreduce/Pipfile +++ b/mapreduce/Pipfile @@ -15,6 +15,7 @@ pytest = "*" pytest-pythonpath = "*" responses = "*" pytest-cov = "*" +pylint = "*" [packages] globalwayback = {version=">=0.3", index="ia"} diff --git a/mapreduce/Pipfile.lock b/mapreduce/Pipfile.lock index 970b8df..19cc6d4 100644 --- a/mapreduce/Pipfile.lock +++ b/mapreduce/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "994447efbfe511d4f9765f5fc80420f71d5a4e95cb3fd92dfab10f35e26449b3" + "sha256": "a47b9c2fe50784191c651423b9c10f89b56bed64d9e37c4e4b60be747bef30b6" }, "pipfile-spec": 6, "requires": { @@ -23,17 +23,17 @@ "default": { "boto3": { "hashes": [ - "sha256:91348d9e5c33c2c1aaaa238a3e97be4834c1aff85082ef6d9b249814be20bab4", - "sha256:de999431f38d6955b2cd33c4a2a78401fca505c4905312adf911c6fd72c9ea99" + "sha256:4c746d55fb6294c11e78db76648c7f321f8068dc5ab402456b5e3e4ee52423b9", + "sha256:5c02372447e07bd67f7c19624642dcf5c7aabe126e1c44ff4ad241aeb97fc729" ], - "version": "==1.7.1" + "version": "==1.7.2" }, "botocore": { "hashes": [ - "sha256:5cf3eebd04efbe01d6784bebbaeec3e7613255dfb71ec7215fd9098ce7e60a7d", - "sha256:bc1e6c36b1b570462e3b688b3bd3ba662e521cc21ce0a860f85f877179af77c7" + "sha256:27945af4bfb2a1ff1f11c730d24b84da6e1f40465907029e8980903f3b984070", + "sha256:8ded801591ef5df04244dc1ba2496dd04a9abbd165d0d2ad501b6cd4b34946d4" ], - "version": "==1.10.1" + "version": "==1.10.2" }, "cachetools": { "hashes": [ @@ -357,35 +357,35 @@ }, "grpcio": { "hashes": [ - "sha256:022dc2a6d1537a5a16af4ccc3355ad7b512f9c627a1d5d579cd7c18830378bb3", - "sha256:025a591606b0aca13bec3e019d6acec01a39421f01b915b98a3a93ea0a53b412", - "sha256:03265472d39bf26f124c3ef68446f7873c8260893e6ae65b323a5b51ed52e580", - "sha256:10efe2e016c3ca7a370771ffcf1de9baa3456d4bccefde0f4ce3be091d871c8f", - "sha256:14bca481188c3f19135012aaff9abefa4e15529c7e1aca3084183d78094d06bd", - "sha256:17240d672b5c1c9ff22e52236c1870413b7fb5af762b97ce5a747a55e0a57e98", - "sha256:1bc36e512741f82c1d73f42df536aa2ab75d840f0d35c149b5d0bee1aed16862", - "sha256:224c513fbe0c3ca546870e5c21b08a8a56cd25795b76b3192ee9702a3344764b", - "sha256:2894466c499d9752e0d49ee8adc5ee12c676d86211fc1b292bf713cc7cfe9853", - "sha256:435b3bab2e34814666854eec203c77b169df1cd56cf22fe449cf5510af416e7d", - "sha256:4765600467d7cdb8f62a591d4427ddbeefcf4dbbe46e2f1b10af555e815ecbcb", - "sha256:4fa658a7e1ba5727ca066b1c8bb64c6befb98f2b8007f04a16c7c84555bf11b9", - "sha256:87e52924a99ac5935a468b3fe49c4b0090bd9b05470b55ed1192308791e6d332", - "sha256:88afda198adb0a9da52a66152062027a57877b46f59ffcf55acc3cbfaff77160", - "sha256:982439a872d41f969724efc139e0416ba45e0d7446e9a41fd2ebe19351adff9a", - "sha256:a1bc37c9910d0fbf4d9e80d5822f92c6e01e28dd1eb01323636ed19666b537cb", - "sha256:aa473b8276de39eeccc4ad6cbb7fd7feab0868180d72c0c93226033c79fa69b7", - "sha256:ae82bf2f7ceac6ba956e816120b4f66bda035571350e46b61bbdde1808aed1dd", - "sha256:b56e4f355c2499bb0bf8f8f4d0362b618b06afdfd2c10722710596dc7e295c6c", - "sha256:d2accc8e354f0ed5b337865260a78b3c6851d2fe3c0e1b025d437122cc15dd31", - "sha256:d410835e7554d064c2d99cfa0dd393ffbb0ccf52145ab51c725a8472ed254a3c", - "sha256:d9e3105f6de6cb759b028702bdd21cb36d27e010227669e43c675b9957a3c180", - "sha256:da306c80d69801a3e4115c448ed4ad481957d723ec1e00b99497c6661573c3e5", - "sha256:e579e4124d2a0931ce39639c60e0711918d6659b933eb97e67f60f84666ea488", - "sha256:e86639989c03831912fd9924beda26f6e9ffcc267656cea035bde9d88cf793b2", - "sha256:ea9564f58144e2f07995d57fb8e636be5efb084cd59c8651391ada2bb75dc0ff", - "sha256:f4a38071dd27f140cfe774f56aecdf0e33de926c21289cc9c7521ce8dd91fc1c" - ], - "version": "==1.10.0" + "sha256:027b93221239691815eb018b4425544a94c16c0703623236e294ca1264a6148f", + "sha256:089cacca055a36aeddbea6783ffe20a5b18eafdb61215021c3e7ffe83cf95c48", + "sha256:19cebeedac9e348ac3664d6629c2543501f80e67df5877b534e162784c5dd19d", + "sha256:24f28f7056999adb13e86ea9bfcbb0ef04385a6ad0e207345b385bb8f93ddb13", + "sha256:27011b7fadd2d1cd1b4655e8a9a0208d54f5b8c7c0869fb9387f9f8e415e0dc3", + "sha256:32e9a4b3f5ff2cce0f6b3f4c8a565c96ee1c0f7aec7e49cbc6f286b8efae01c4", + "sha256:342a2a8881737f01f064f28c2c9cbe6e4cc5f954a2ae2ab82c9d7081f3517955", + "sha256:35e1545483e62ef142f9d72c3d34b3cbbfb514e108d584535db946070bc96252", + "sha256:3baba420bd3b4b80108bd7be80692209c54506c94ed8d37c24e5ff5702374c1b", + "sha256:44d7f3f47fb9aa5c6163887aee0ef1786bc82d8bd71a4c9f932d71804d7dc9e5", + "sha256:45f1f34fc751a3e089e97d0974d94d56c88ce54fee07705f1cf6a862c014dd2f", + "sha256:6ab65e9656fd34c65a21f7b78affde40ec46cee53916f024f4b086140ca03e3f", + "sha256:87657bbdd93dccdb6fb63e23a16b3c4867fe449d79bd00a05e00da35e7fadf76", + "sha256:92ba784d9b8c2c140af55fdd7598c15ddbdfa4eaef130c1b1d02d1ba900be1e5", + "sha256:93418766d5519ea697ed11dd4364adf025d12a7c6e4617fab4f360f07f850559", + "sha256:a2455df869859143f6ea6260abb04dc870a5da6e678dd40b638721e3efa47928", + "sha256:b6b8da29d059bc5778d1f7e8b086a2a62024426d39165d92becd7fc112361193", + "sha256:beea2b396b1a299e1faed3813f79834dbcbbdfd0b1c2a4f7c9bb1edbd80d5aa1", + "sha256:c24722f40ad9a96408b284375265806e78c0bc935fddaf86a58d58651576a590", + "sha256:c2afcf625abc488f77da0b7bd753db4e0e7164966b8240c4d638361dfb8ff523", + "sha256:c6a068a4935c365ee7c60f8d5006057cee04ef248dc1f880a8570d77ec5f5ca4", + "sha256:cb0ba6563ec945f2df20fd9fc81035b6652d1ddcf67dad6acbaa16af1bc4d594", + "sha256:dbbf08868d3ad4cd363fae56bbc8768927d771ba16051090457541a21a94675a", + "sha256:ee5d03e5bb3bf802ad23a0465698da7ee520d90a44465f83d7c22df220df6399", + "sha256:f188a12a34058f64cfed079a560ecf4cbdd8e097787990f51dce1dcb3394b778", + "sha256:f2cda34bd317b80801f7d7c1a49d48fa091dbf11aa4721e8cae1a1152a36d3b4", + "sha256:f969ec8a5602e88d2efecb7d7c2a03556450865863f20a8636e24a5499a2aa16" + ], + "version": "==1.10.1" }, "happybase": { "hashes": [ @@ -804,6 +804,13 @@ } }, "develop": { + "astroid": { + "hashes": [ + "sha256:35cfae47aac19c7b407b7095410e895e836f2285ccf1220336afba744cc4c5f2", + "sha256:38186e481b65877fd8b1f9acc33e922109e983eb7b6e487bd4c71002134ad331" + ], + "version": "==1.6.3" + }, "attrs": { "hashes": [ "sha256:1c7960ccfd6a005cd9f7ba884e6316b5e430a3f1a6c37c5f87d8b43f83b54ec9", @@ -904,11 +911,11 @@ }, "ipython": { "hashes": [ - "sha256:938da96f2f5f50d82add1947958b7432e9f330cef7703210bffd1a783d7720ab", - "sha256:c785ab502b1a63624baeb89fedb873a118d4da6c9a796ae06e4f4aaef74e9ea0" + "sha256:85882f97d75122ff8cdfe129215a408085a26039527110c8d4a2b8a5e45b7639", + "sha256:a6ac981381b3f5f604b37a293369963485200e3639fb0404fa76092383c10c41" ], "index": "ia", - "version": "==6.3.0" + "version": "==6.3.1" }, "ipython-genutils": { "hashes": [ @@ -917,6 +924,14 @@ ], "version": "==0.2.0" }, + "isort": { + "hashes": [ + "sha256:1153601da39a25b14ddc54955dbbacbb6b2d19135386699e2ad58517953b34af", + "sha256:b9c40e9750f3d77e6e4d441d8b0266cf555e7cdabdcff33c4fd06366ca761ef8", + "sha256:ec9ef8f4a9bc6f71eec99e1806bfa2de401650d996c59330782b89a5555c1497" + ], + "version": "==4.3.4" + }, "jedi": { "hashes": [ "sha256:d6e799d04d1ade9459ed0f20de47c32f2285438956a677d083d3c98def59fa97", @@ -924,6 +939,47 @@ ], "version": "==0.11.1" }, + "lazy-object-proxy": { + "hashes": [ + "sha256:0ce34342b419bd8f018e6666bfef729aec3edf62345a53b537a4dcc115746a33", + "sha256:1b668120716eb7ee21d8a38815e5eb3bb8211117d9a90b0f8e21722c0758cc39", + "sha256:209615b0fe4624d79e50220ce3310ca1a9445fd8e6d3572a896e7f9146bbf019", + "sha256:27bf62cb2b1a2068d443ff7097ee33393f8483b570b475db8ebf7e1cba64f088", + "sha256:27ea6fd1c02dcc78172a82fc37fcc0992a94e4cecf53cb6d73f11749825bd98b", + "sha256:2c1b21b44ac9beb0fc848d3993924147ba45c4ebc24be19825e57aabbe74a99e", + "sha256:2df72ab12046a3496a92476020a1a0abf78b2a7db9ff4dc2036b8dd980203ae6", + "sha256:320ffd3de9699d3892048baee45ebfbbf9388a7d65d832d7e580243ade426d2b", + "sha256:50e3b9a464d5d08cc5227413db0d1c4707b6172e4d4d915c1c70e4de0bbff1f5", + "sha256:5276db7ff62bb7b52f77f1f51ed58850e315154249aceb42e7f4c611f0f847ff", + "sha256:61a6cf00dcb1a7f0c773ed4acc509cb636af2d6337a08f362413c76b2b47a8dd", + "sha256:6ae6c4cb59f199d8827c5a07546b2ab7e85d262acaccaacd49b62f53f7c456f7", + "sha256:7661d401d60d8bf15bb5da39e4dd72f5d764c5aff5a86ef52a042506e3e970ff", + "sha256:7bd527f36a605c914efca5d3d014170b2cb184723e423d26b1fb2fd9108e264d", + "sha256:7cb54db3535c8686ea12e9535eb087d32421184eacc6939ef15ef50f83a5e7e2", + "sha256:7f3a2d740291f7f2c111d86a1c4851b70fb000a6c8883a59660d95ad57b9df35", + "sha256:81304b7d8e9c824d058087dcb89144842c8e0dea6d281c031f59f0acf66963d4", + "sha256:933947e8b4fbe617a51528b09851685138b49d511af0b6c0da2539115d6d4514", + "sha256:94223d7f060301b3a8c09c9b3bc3294b56b2188e7d8179c762a1cda72c979252", + "sha256:ab3ca49afcb47058393b0122428358d2fbe0408cf99f1b58b295cfeb4ed39109", + "sha256:bd6292f565ca46dee4e737ebcc20742e3b5be2b01556dafe169f6c65d088875f", + "sha256:cb924aa3e4a3fb644d0c463cad5bc2572649a6a3f68a7f8e4fbe44aaa6d77e4c", + "sha256:d0fc7a286feac9077ec52a927fc9fe8fe2fabab95426722be4c953c9a8bede92", + "sha256:ddc34786490a6e4ec0a855d401034cbd1242ef186c20d79d2166d6a4bd449577", + "sha256:e34b155e36fa9da7e1b7c738ed7767fc9491a62ec6af70fe9da4a057759edc2d", + "sha256:e5b9e8f6bda48460b7b143c3821b21b452cb3a835e6bbd5dd33aa0c8d3f5137d", + "sha256:e81ebf6c5ee9684be8f2c87563880f93eedd56dd2b6146d8a725b50b7e5adb0f", + "sha256:eb91be369f945f10d3a49f5f9be8b3d0b93a4c2be8f8a5b83b0571b8123e0a7a", + "sha256:f460d1ceb0e4a5dcb2a652db0904224f367c9b3c1470d5a7683c0480e582468b" + ], + "version": "==1.3.1" + }, + "mccabe": { + "hashes": [ + "sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42", + "sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f" + ], + "version": "==0.6.1" + }, "more-itertools": { "hashes": [ "sha256:0dd8f72eeab0d2c3bd489025bb2f6a1b8342f9b198f6fc37b52d15cfa4531fea", @@ -989,6 +1045,14 @@ ], "version": "==2.2.0" }, + "pylint": { + "hashes": [ + "sha256:0b7e6b5d9f1d4e0b554b5d948f14ed7969e8cdf9a0120853e6e5af60813b18ab", + "sha256:34738a82ab33cbd3bb6cd4cef823dbcabdd2b6b48a4e3a3054a2bbbf0c712be9" + ], + "index": "ia", + "version": "==1.8.4" + }, "pytest": { "hashes": [ "sha256:6266f87ab64692112e5477eba395cfedda53b1933ccd29478e671e73b420c19c", @@ -1061,6 +1125,12 @@ "sha256:f4ebe71925af7b40a864553f761ed559b43544f8f71746c2d756c7fe788ade7c" ], "version": "==0.1.7" + }, + "wrapt": { + "hashes": [ + "sha256:d4d560d479f2c21e1b5443bbd15fe7ec4b37fe7e53d335d3b9b0a7b1226fe3c6" + ], + "version": "==1.10.11" } } } |