From 129b3e1ac32ade81cc465dc6e1530eadf0f0d791 Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Fri, 13 Jan 2023 17:39:11 +0100 Subject: [PATCH] [automation] Auto-update linters version, help and documentation (#2255) * [automation] Auto-update linters version, help and documentation * [MegaLinter] Apply linters fixes Co-authored-by: nvuillam --- .automation/generated/flavors-stats.json | 62 +- .automation/generated/linter-helps.json | 690 ++++++++++---------- .automation/generated/linter-versions.json | 2 +- .automation/generated/megalinter-users.json | 248 +++---- CHANGELOG.md | 1 + docs/all_linters.md | 2 +- docs/descriptors/php_phpstan.md | 2 +- docs/descriptors/python_black.md | 6 +- docs/descriptors/python_pylint.md | 678 +++++++++---------- docs/descriptors/repository_checkov.md | 4 +- docs/descriptors/terraform_checkov.md | 4 +- docs/used-by-stats.md | 46 +- 12 files changed, 873 insertions(+), 872 deletions(-) diff --git a/.automation/generated/flavors-stats.json b/.automation/generated/flavors-stats.json index 32c375501fa..b36d260e5e1 100644 --- a/.automation/generated/flavors-stats.json +++ b/.automation/generated/flavors-stats.json @@ -1217,8 +1217,8 @@ 2732760 ], [ - "2023-01-12T01:07:19", - 2733038 + "2023-01-12T19:14:41", + 2734215 ] ], "ci_light": [ @@ -2439,8 +2439,8 @@ 42708 ], [ - "2023-01-12T01:07:19", - 42746 + "2023-01-12T19:14:41", + 42937 ] ], "cupcake": [ @@ -2641,8 +2641,8 @@ 1507 ], [ - "2023-01-12T01:07:19", - 1518 + "2023-01-12T19:14:41", + 1548 ] ], "dart": [ @@ -4773,8 +4773,8 @@ 102460 ], [ - "2023-01-12T01:07:19", - 102515 + "2023-01-12T19:14:41", + 102748 ] ], "dotnet": [ @@ -5995,8 +5995,8 @@ 339167 ], [ - "2023-01-12T01:07:19", - 339265 + "2023-01-12T19:14:41", + 339690 ] ], "go": [ @@ -7217,8 +7217,8 @@ 16019 ], [ - "2023-01-12T01:07:19", - 16020 + "2023-01-12T19:14:41", + 16038 ] ], "java": [ @@ -8439,8 +8439,8 @@ 105286 ], [ - "2023-01-12T01:07:19", - 105305 + "2023-01-12T19:14:41", + 105405 ] ], "javascript": [ @@ -9661,8 +9661,8 @@ 185609 ], [ - "2023-01-12T01:07:19", - 185667 + "2023-01-12T19:14:41", + 186040 ] ], "php": [ @@ -10883,8 +10883,8 @@ 37589 ], [ - "2023-01-12T01:07:19", - 37619 + "2023-01-12T19:14:41", + 37752 ] ], "python": [ @@ -12105,8 +12105,8 @@ 145622 ], [ - "2023-01-12T01:07:19", - 145717 + "2023-01-12T19:14:41", + 145991 ] ], "ruby": [ @@ -13323,8 +13323,8 @@ 2810 ], [ - "2023-01-12T01:07:19", - 2810 + "2023-01-12T19:14:41", + 2813 ] ], "rust": [ @@ -14541,8 +14541,8 @@ 4412 ], [ - "2023-01-12T01:07:19", - 4412 + "2023-01-12T19:14:41", + 4416 ] ], "salesforce": [ @@ -15763,8 +15763,8 @@ 15979 ], [ - "2023-01-12T01:07:19", - 15979 + "2023-01-12T19:14:41", + 15983 ] ], "scala": [ @@ -16983,8 +16983,8 @@ 2025 ], [ - "2023-01-12T01:07:19", - 2026 + "2023-01-12T19:14:41", + 2043 ] ], "swift": [ @@ -18201,7 +18201,7 @@ 3090 ], [ - "2023-01-12T01:07:19", + "2023-01-12T19:14:41", 3090 ] ], @@ -19423,8 +19423,8 @@ 159091 ], [ - "2023-01-12T01:07:19", - 159186 + "2023-01-12T19:14:41", + 159678 ] ] } \ No newline at end of file diff --git a/.automation/generated/linter-helps.json b/.automation/generated/linter-helps.json index f86b99cf597..728cc8c7ae8 100644 --- a/.automation/generated/linter-helps.json +++ b/.automation/generated/linter-helps.json @@ -483,9 +483,9 @@ " input).", " --python-cell-magics TEXT When processing Jupyter Notebooks, add the", " given magic to the list of known python-", - " magics (time, capture, timeit, pypy,", - " python3, python, prun). Useful for", - " formatting cells with custom python magics.", + " magics (python3, pypy, time, prun, python,", + " capture, timeit). Useful for formatting", + " cells with custom python magics.", " -x, --skip-source-first-line Skip the first line of the source code.", " -S, --skip-string-normalization", " Don't normalize string quotes or prefixes.", @@ -667,7 +667,7 @@ " [--secrets-scan-file-type SECRETS_SCAN_FILE_TYPE]", " [--enable-secret-scan-all-files]", " [--block-list-secret-scan BLOCK_LIST_SECRET_SCAN]", - " [--summary-position {bottom,top}]", + " [--summary-position {top,bottom}]", " [--skip-resources-without-violations]", "", "Infrastructure as code static analysis", @@ -918,7 +918,7 @@ " --block-list-secret-scan BLOCK_LIST_SECRET_SCAN", " List of files to filter out from the secret scanner", " [env var: CKV_SECRETS_SCAN_BLOCK_LIST]", - " --summary-position {bottom,top}", + " --summary-position {top,bottom}", " Chose whether the summary will be appended on top", " (before the checks results) or on bottom (after check", " results), default is on top.", @@ -5040,130 +5040,88 @@ " Warning level messages displayed, use \"--disable=all", " --enable=classes --disable=W\".", "", - "Basic:", - " --good-names Good variable names which should always be accepted,", - " separated by a comma. (default: ('i', 'j', 'k', 'ex',", - " 'Run', '_'))", - " --good-names-rgxs ", - " Good variable names regexes, separated by a comma. If", - " names match any regex, they will always be accepted", - " (default: )", - " --bad-names Bad variable names which should always be refused,", - " separated by a comma. (default: ('foo', 'bar', 'baz',", - " 'toto', 'tutu', 'tata'))", - " --bad-names-rgxs ", - " Bad variable names regexes, separated by a comma. If", - " names match any regex, they will always be refused", - " (default: )", - " --name-group ", - " Colon-delimited sets of names that determine each", - " other's naming style when the name regexes allow", - " several styles. (default: ())", - " --include-naming-hint ", - " Include a hint for the correct naming format with", - " invalid-name. (default: False)", - " --property-classes ", - " List of decorators that produce properties, such as", - " abc.abstractproperty. Add to this list to register", - " other decorators that produce valid properties. These", - " decorators are taken in consideration only for", - " invalid-name. (default: ('abc.abstractproperty',))", - " --argument-naming-style