Bump pylint from 2.7.0 to 2.7.1 in /dependencies (#1256)

* Bump pylint from 2.7.0 to 2.7.1 in /dependencies

Bumps [pylint](https://github.com/PyCQA/pylint) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Changelog](https://github.com/PyCQA/pylint/blob/master/ChangeLog)
- [Commits](https://github.com/PyCQA/pylint/compare/pylint-2.7.0...pylint-2.7.1)

Signed-off-by: dependabot[bot] <support@github.com>

* fix jscpd

* fix json

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
This commit is contained in:
dependabot[bot] 2021-02-24 09:09:56 -06:00 committed by GitHub
parent 7c4842d2d2
commit b2491c3bd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 12 deletions

View file

@ -14,7 +14,7 @@ ok 11 - html_good_01.html
ok 12 - java_good_1.java ok 12 - java_good_1.java
not ok 13 - javascript_bad_1.js not ok 13 - javascript_bad_1.js
--- ---
message: Clone found (javascript) \n - /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [119 5 - 126 20] (7 lines, 82 tokens)\n /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [66 5 - 73 18]\n\nClone found (javascript) \n - /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [190 43 - 204 17] (14 lines, 145 tokens)\n /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [61 43 - 75 11]\n\nClone found (javascript) \n - /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [119 5 - 126 20] (7 lines, 82 tokens)\n /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [66 5 - 73 18]\n\n 119 66 } \n 120 67 } \n 121 68 let body = [] \n 122 69 const req = https.request(options, (res) => { \n 123 70 res.on('data', (chunk) => { \n 124 71 body.push(chunk) \n 125 72 }).on('end', () => { \n 126 73 body = Buffer \n\nClone found (javascript) \n - /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [190 43 - 204 17] (14 lines, 145 tokens)\n /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [61 43 - 75 11]\n\n 190 61 , \n 191 62 method 'GET', \n 192 63 headers { \n 193 64 Authorization 'token ' + (process.env.GHE_TOKEN), \n 194 65 'Content-Type' 'application/json' \n 195 66 } \n 196 67 } \n 197 68 let body = [] \n 198 69 const req = https.request(options, (res) => { \n 199 70 res.on('data', (chunk) => { \n 200 71 body.push(chunk) \n 201 72 }).on('end', () => { \n 202 73 body = JSON.parse(Buffer.concat(body)) \n 203 74 body.forEach(item => { \n 204 75 orgRepos \n\nFound 2 clones.\nERROR jscpd found too many duplicates (9.81%) over threshold (0%)\nError ERROR jscpd found too many duplicates (9.81%) over threshold (0%)\n at ThresholdReporter.report (/node_modules/@jscpd/finder/dist/reporters/threshold.js)\n at /node_modules/@jscpd/finder/dist/in-files-detector.js\n at Array.forEach (<anonymous>)\n at /node_modules/@jscpd/finder/dist/in-files-detector.js\n at processTicksAndRejections (node internal/process/task_queues 93 5)\n message: Clone found (javascript) \n - /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [119 5 - 126 20] (7 lines, 82 tokens)\n /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [66 5 - 73 18]\n\nClone found (javascript) \n - /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [190 43 - 204 17] (14 lines, 145 tokens)\n /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [61 43 - 75 11]\n\nClone found (javascript) \n - /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [119 5 - 126 20] (7 lines, 82 tokens)\n /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [66 5 - 73 18]\n\n 119 66 } \n 120 67 } \n 121 68 let body = [] \n 122 69 const req = https.request(options, (res) => { \n 123 70 res.on('data', (chunk) => { \n 124 71 body.push(chunk) \n 125 72 }).on('end', () => { \n 126 73 body = Buffer \n\nClone found (javascript) \n - /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [190 43 - 204 17] (14 lines, 145 tokens)\n /tmp/lint/.automation/test/jscpd/javascript_bad_1.js [61 43 - 75 11]\n\n 190 61 , \n 191 62 method 'GET', \n 192 63 headers { \n 193 64 Authorization 'token ' + (process.env.GHE_TOKEN), \n 194 65 'Content-Type' 'application/json' \n 195 66 } \n 196 67 } \n 197 68 let body = [] \n 198 69 const req = https.request(options, (res) => { \n 199 70 res.on('data', (chunk) => { \n 200 71 body.push(chunk) \n 201 72 }).on('end', () => { \n 202 73 body = JSON.parse(Buffer.concat(body)) \n 203 74 body.forEach(item => { \n 204 75 orgRepos \n\nFound 2 clones.\nERROR jscpd found too many duplicates (9.81%) over threshold (0%)\nError ERROR jscpd found too many duplicates (9.81%) over threshold (0%)\n at ThresholdReporter.report (/node_modules/@jscpd/finder/dist/reporters/threshold.js)\n at /node_modules/@jscpd/finder/dist/in-files-detector.js\n at Array.forEach (<anonymous>)\n at /node_modules/@jscpd/finder/dist/in-files-detector.js\n at processTicksAndRejections (node internal/process/task_queues 94 5)\n
... ...
ok 14 - json_good_1.json ok 14 - json_good_1.json
ok 15 - kotlint_good_1.kt ok 15 - kotlint_good_1.kt
@ -27,7 +27,7 @@ ok 21 - powershell_good_1.ps1
ok 22 - protobuf_good_1.proto ok 22 - protobuf_good_1.proto
not ok 23 - python_bad_1.py not ok 23 - python_bad_1.py
--- ---
message: Clone found (python) \n - /tmp/lint/.automation/test/jscpd/python_bad_1.py [77 70 - 84 16] (7 lines, 77 tokens)\n /tmp/lint/.automation/test/jscpd/python_bad_1.py [50 69 - 55 82]\n\nClone found (python) \n - /tmp/lint/.automation/test/jscpd/python_bad_1.py [77 70 - 84 16] (7 lines, 77 tokens)\n /tmp/lint/.automation/test/jscpd/python_bad_1.py [50 69 - 55 82]\n\n 77 50 ), "r" \n 78 51 ) as query_file \n 79 52 query = "".join(query_file.readlines()) \n 80 53 \n 81 54 payload = {"query" query, "variables" query_variables} \n 82 55 response = requests.post(api_url, data=json.dumps(payload), headers=headers) \n 83 56 \n 84 57 status_code \n\nFound 1 clones.\nERROR jscpd found too many duplicates (3.61%) over threshold (0%)\nError ERROR jscpd found too many duplicates (3.61%) over threshold (0%)\n at ThresholdReporter.report (/node_modules/@jscpd/finder/dist/reporters/threshold.js)\n at /node_modules/@jscpd/finder/dist/in-files-detector.js\n at Array.forEach (<anonymous>)\n at /node_modules/@jscpd/finder/dist/in-files-detector.js\n at processTicksAndRejections (node internal/process/task_queues 93 5)\n message: Clone found (python) \n - /tmp/lint/.automation/test/jscpd/python_bad_1.py [77 70 - 84 16] (7 lines, 77 tokens)\n /tmp/lint/.automation/test/jscpd/python_bad_1.py [50 69 - 55 82]\n\nClone found (python) \n - /tmp/lint/.automation/test/jscpd/python_bad_1.py [77 70 - 84 16] (7 lines, 77 tokens)\n /tmp/lint/.automation/test/jscpd/python_bad_1.py [50 69 - 55 82]\n\n 77 50 ), "r" \n 78 51 ) as query_file \n 79 52 query = "".join(query_file.readlines()) \n 80 53 \n 81 54 payload = {"query" query, "variables" query_variables} \n 82 55 response = requests.post(api_url, data=json.dumps(payload), headers=headers) \n 83 56 \n 84 57 status_code \n\nFound 1 clones.\nERROR jscpd found too many duplicates (3.61%) over threshold (0%)\nError ERROR jscpd found too many duplicates (3.61%) over threshold (0%)\n at ThresholdReporter.report (/node_modules/@jscpd/finder/dist/reporters/threshold.js)\n at /node_modules/@jscpd/finder/dist/in-files-detector.js\n at Array.forEach (<anonymous>)\n at /node_modules/@jscpd/finder/dist/in-files-detector.js\n at processTicksAndRejections (node internal/process/task_queues 94 5)\n
... ...
ok 24 - r_good_1.r ok 24 - r_good_1.r
ok 25 - expected-JSCPD.tap ok 25 - expected-JSCPD.tap

View file

@ -2,6 +2,6 @@ TAP version 13
1..2 1..2
not ok 1 - json_bad_1.json not ok 1 - json_bad_1.json
--- ---
message: Error Parse error on line 6 \n...ng" { "level" 'ignore', "space\n----------------------^\nExpecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'\n at Object.parseError (/node_modules/jsonlint/lib/jsonlint.js)\n at Object.parse (/node_modules/jsonlint/lib/jsonlint.js)\n at parse (/node_modules/jsonlint/lib/cli.js)\n at main (/node_modules/jsonlint/lib/cli.js)\n at Object.<anonymous> (/node_modules/jsonlint/lib/cli.js)\n at Module._compile (node internal/modules/cjs/loader 1108 14)\n at Object.Module._extensions..js (node internal/modules/cjs/loader 1137 10)\n at Module.load (node internal/modules/cjs/loader 973 32)\n at Function.Module._load (node internal/modules/cjs/loader 813 14)\n at Function.executeUserEntryPoint [as runMain] (node internal/modules/run_main 76 12)\n message: Error Parse error on line 6 \n...ng" { "level" 'ignore', "space\n----------------------^\nExpecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'\n at Object.parseError (/node_modules/jsonlint/lib/jsonlint.js)\n at Object.parse (/node_modules/jsonlint/lib/jsonlint.js)\n at parse (/node_modules/jsonlint/lib/cli.js)\n at main (/node_modules/jsonlint/lib/cli.js)\n at Object.<anonymous> (/node_modules/jsonlint/lib/cli.js)\n at Module._compile (node internal/modules/cjs/loader 1091 14)\n at Object.Module._extensions..js (node internal/modules/cjs/loader 1120 10)\n at Module.load (node internal/modules/cjs/loader 971 32)\n at Function.Module._load (node internal/modules/cjs/loader 812 14)\n at Function.executeUserEntryPoint [as runMain] (node internal/modules/run_main 76 12)\n
... ...
ok 2 - json_good_1.json ok 2 - json_good_1.json

17
dependencies/Pipfile.lock generated vendored
View file

@ -85,17 +85,16 @@
}, },
"boto3": { "boto3": {
"hashes": [ "hashes": [
"sha256:62f06cd1e7a78d8aaa4e527c327653e9a6c1af415b59836048a90c28a27e5f09", "sha256:95e23684bccdb0e02910fd71586ca2a1941a0f96ba1a8753e5f1e990c8fd25d9",
"sha256:bbc47e6f83372d9a18483895e7116ea50e8da32ffb62e8afc0a6e2323f964ed9" "sha256:a1dc13aa5fac7bc6df0ca29e0a93e320a7a2370f9fe03cfb7284090d9180b97a"
], ],
"version": "==1.17.12" "version": "==1.17.14"
}, },
"botocore": { "botocore": {
"hashes": [ "hashes": [
"sha256:39a92315a17a6f8bc1914dbb020f52e929f18e5b99a4fa1c5d8785f913427ed8", "sha256:2a07533de92603607c8b594ff92647f5d5a39e75f66c9476ccd30ed4d6de37ae"
"sha256:e576e1697ad9dc794961ed1ba51bdea7e0574ec27981c888482955f4be5cc4e8"
], ],
"version": "==1.20.12" "version": "==1.20.14"
}, },
"bracex": { "bracex": {
"hashes": [ "hashes": [
@ -581,11 +580,11 @@
}, },
"pylint": { "pylint": {
"hashes": [ "hashes": [
"sha256:2e0c6749d809985e4f181c336a8f89b2b797340d8049160bf95f35a3f0ecf6fc", "sha256:81ce108f6342421169ea039ff1f528208c99d2e5a9c4ca95cfc5291be6dfd982",
"sha256:3ea3926700db399765db1faf53860f11e4e981a090646e9eacd01ca78e020579" "sha256:a251b238db462b71d25948f940568bb5b3ae0e37dbaa05e10523f54f83e6cc7e"
], ],
"index": "pypi", "index": "pypi",
"version": "==2.7.0" "version": "==2.7.1"
}, },
"pyparsing": { "pyparsing": {
"hashes": [ "hashes": [