From 2322c9e52caa33aecb4a10846d57d658e0e70022 Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Sun, 24 Apr 2022 22:04:45 +0200 Subject: [PATCH] [automation] Auto-update linters version, help and documentation (#1437) --- .automation/generated/flavors-stats.json | 48 ++++++++++----------- .automation/generated/linter-helps.json | 10 ++--- .automation/generated/linter-versions.json | 4 +- .automation/generated/megalinter-users.json | 24 +++++------ CHANGELOG.md | 2 + docs/all_linters.md | 4 +- docs/descriptors/java_checkstyle.md | 2 +- docs/descriptors/python_black.md | 6 +-- docs/descriptors/python_flake8.md | 4 +- docs/descriptors/terraform_checkov.md | 2 +- 10 files changed, 54 insertions(+), 52 deletions(-) diff --git a/.automation/generated/flavors-stats.json b/.automation/generated/flavors-stats.json index 2f4ca675b82..91321541bce 100644 --- a/.automation/generated/flavors-stats.json +++ b/.automation/generated/flavors-stats.json @@ -741,8 +741,8 @@ 2484903 ], [ - "2022-04-24T16:00:34", - 2485084 + "2022-04-24T16:22:52", + 2485102 ] ], "ci_light": [ @@ -1487,8 +1487,8 @@ 9447 ], [ - "2022-04-24T16:00:34", - 9457 + "2022-04-24T16:22:52", + 9458 ] ], "dart": [ @@ -2233,7 +2233,7 @@ 2662 ], [ - "2022-04-24T16:00:34", + "2022-04-24T16:22:52", 2664 ] ], @@ -2979,8 +2979,8 @@ 49985 ], [ - "2022-04-24T16:00:34", - 50017 + "2022-04-24T16:22:52", + 50018 ] ], "dotnet": [ @@ -3725,8 +3725,8 @@ 294755 ], [ - "2022-04-24T16:00:34", - 294811 + "2022-04-24T16:22:52", + 294820 ] ], "go": [ @@ -4471,7 +4471,7 @@ 10106 ], [ - "2022-04-24T16:00:34", + "2022-04-24T16:22:52", 10107 ] ], @@ -5217,8 +5217,8 @@ 71623 ], [ - "2022-04-24T16:00:34", - 71700 + "2022-04-24T16:22:52", + 71708 ] ], "javascript": [ @@ -5963,8 +5963,8 @@ 109456 ], [ - "2022-04-24T16:00:34", - 109756 + "2022-04-24T16:22:52", + 109805 ] ], "php": [ @@ -6709,7 +6709,7 @@ 7395 ], [ - "2022-04-24T16:00:34", + "2022-04-24T16:22:52", 7396 ] ], @@ -7455,8 +7455,8 @@ 70640 ], [ - "2022-04-24T16:00:34", - 70716 + "2022-04-24T16:22:52", + 70726 ] ], "ruby": [ @@ -8197,7 +8197,7 @@ 2096 ], [ - "2022-04-24T16:00:34", + "2022-04-24T16:22:52", 2096 ] ], @@ -8939,7 +8939,7 @@ 3141 ], [ - "2022-04-24T16:00:34", + "2022-04-24T16:22:52", 3145 ] ], @@ -9685,7 +9685,7 @@ 11855 ], [ - "2022-04-24T16:00:34", + "2022-04-24T16:22:52", 11860 ] ], @@ -10427,7 +10427,7 @@ 1463 ], [ - "2022-04-24T16:00:34", + "2022-04-24T16:22:52", 1467 ] ], @@ -11169,7 +11169,7 @@ 1516 ], [ - "2022-04-24T16:00:34", + "2022-04-24T16:22:52", 1520 ] ], @@ -11915,8 +11915,8 @@ 55017 ], [ - "2022-04-24T16:00:34", - 55142 + "2022-04-24T16:22:52", + 55144 ] ] } \ No newline at end of file diff --git a/.automation/generated/linter-helps.json b/.automation/generated/linter-helps.json index 53286be1367..09563a8041c 100644 --- a/.automation/generated/linter-helps.json +++ b/.automation/generated/linter-helps.json @@ -343,9 +343,9 @@ " input).", " --python-cell-magics TEXT When processing Jupyter Notebooks, add the", " given magic to the list of known python-", - " magics (timeit, prun, pypy, python3,", - " capture, python, time). Useful for", - " formatting cells with custom python magics.", + " magics (python3, python, pypy, timeit, time,", + " capture, prun). Useful for formatting cells", + " with custom python magics.", " -S, --skip-string-normalization", " Don't normalize string quotes or prefixes.", " -C, --skip-magic-trailing-comma", @@ -1535,8 +1535,8 @@ " of opening bracket's line.", " --ignore errors Comma-separated list of errors and warnings to ignore", " (or skip). For example, ``--ignore=E4,E51,W234``.", - " (Default: ['E121', 'E24', 'E226', 'E126', 'E704',", - " 'W503', 'E123', 'W504'])", + " (Default: ['W504', 'E226', 'E126', 'W503', 'E704',", + " 'E121', 'E24', 'E123'])", " --extend-ignore errors", " Comma-separated list of errors and warnings to add to", " the list of ignored ones. For example, ``--extend-", diff --git a/.automation/generated/linter-versions.json b/.automation/generated/linter-versions.json index e74a6898def..14cf5f543b9 100644 --- a/.automation/generated/linter-versions.json +++ b/.automation/generated/linter-versions.json @@ -6,8 +6,8 @@ "bash-exec": "5.1.16", "black": "22.3.0", "cfn-lint": "0.59.0", - "checkov": "2.0.1076", - "checkstyle": "10.1", + "checkov": "2.0.1079", + "checkstyle": "10.2", "chktex": "1.7.6", "clippy": "0.1.60", "clj-kondo": "2022.04.08", diff --git a/.automation/generated/megalinter-users.json b/.automation/generated/megalinter-users.json index 0487c0b3e18..7c8e04b9b3a 100644 --- a/.automation/generated/megalinter-users.json +++ b/.automation/generated/megalinter-users.json @@ -110,7 +110,7 @@ "releases_url": "https://api.github.com/repos/nektos/act/releases{/id}", "size": 5870, "ssh_url": "git@github.com:nektos/act.git", - "stargazers_count": 23504, + "stargazers_count": 23506, "stargazers_url": "https://api.github.com/repos/nektos/act/stargazers", "statuses_url": "https://api.github.com/repos/nektos/act/statuses/{sha}", "subscribers_count": 107, @@ -127,14 +127,14 @@ "golang" ], "trees_url": "https://api.github.com/repos/nektos/act/git/trees{/sha}", - "updated_at": "2022-04-24T13:21:28Z", + "updated_at": "2022-04-24T16:06:52Z", "url": "https://api.github.com/repos/nektos/act", "visibility": "public", - "watchers": 23504, - "watchers_count": 23504 + "watchers": 23506, + "watchers_count": 23506 }, "repo_url": "https://github.com/nektos/act", - "stargazers": 23504 + "stargazers": 23506 }, { "info": { @@ -431,8 +431,8 @@ "network_count": 87, "node_id": "MDEwOlJlcG9zaXRvcnkzMDQ4MzAyMjY=", "notifications_url": "https://api.github.com/repos/megalinter/megalinter/notifications{?since,all,participating}", - "open_issues": 30, - "open_issues_count": 30, + "open_issues": 29, + "open_issues_count": 29, "organization": { "avatar_url": "https://avatars.githubusercontent.com/u/76904213?v=4", "events_url": "https://api.github.com/users/megalinter/events{/privacy}", @@ -475,9 +475,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/megalinter/megalinter/pulls{/number}", - "pushed_at": "2022-04-24T03:27:26Z", + "pushed_at": "2022-04-24T15:08:53Z", "releases_url": "https://api.github.com/repos/megalinter/megalinter/releases{/id}", - "size": 123459, + "size": 124454, "ssh_url": "git@github.com:megalinter/megalinter.git", "stargazers_count": 591, "stargazers_url": "https://api.github.com/repos/megalinter/megalinter/stargazers", @@ -1033,8 +1033,8 @@ "downloads_url": "https://api.github.com/repos/KelvinTegelaar/CIPP/downloads", "events_url": "https://api.github.com/repos/KelvinTegelaar/CIPP/events", "fork": false, - "forks": 837, - "forks_count": 837, + "forks": 838, + "forks_count": 838, "forks_url": "https://api.github.com/repos/KelvinTegelaar/CIPP/forks", "full_name": "KelvinTegelaar/CIPP", "git_commits_url": "https://api.github.com/repos/KelvinTegelaar/CIPP/git/commits{/sha}", @@ -1069,7 +1069,7 @@ "milestones_url": "https://api.github.com/repos/KelvinTegelaar/CIPP/milestones{/number}", "mirror_url": null, "name": "CIPP", - "network_count": 837, + "network_count": 838, "node_id": "R_kgDOGNiHEA", "notifications_url": "https://api.github.com/repos/KelvinTegelaar/CIPP/notifications{?since,all,participating}", "open_issues": 8, diff --git a/CHANGELOG.md b/CHANGELOG.md index f23b7dc327a..667ee9163dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-l - Linter versions upgrades - [luacheck](https://luacheck.readthedocs.io) from 0.26.0 to **0.26.1** on 2022-04-24 + - [checkstyle](https://checkstyle.sourceforge.io) from 10.1 to **10.2** on 2022-04-24 + - [checkov](https://www.checkov.io/) from 2.0.1076 to **2.0.1079** on 2022-04-24 ## [v5.12.0] - 2022-04-23 diff --git a/docs/all_linters.md b/docs/all_linters.md index 1232d2f66a8..ee39bab4b12 100644 --- a/docs/all_linters.md +++ b/docs/all_linters.md @@ -12,8 +12,8 @@ | [**bash-exec**](https://tiswww.case.edu/php/chet/bash/bashtop.html){target=_blank} | 5.1.16 | | [BASH](descriptors/bash_bash_exec.md) | | [Web Site](https://tiswww.case.edu/php/chet/bash/bashtop.html){target=_blank} | | [**black**](https://github.com/psf/black){target=_blank} | 22.3.0 | [MIT](licenses/black.md) | [PYTHON](descriptors/python_black.md) | :white_circle: | [Repository](https://github.com/psf/black){target=_blank} | | [**cfn-lint**](https://github.com/martysweet/cfn-lint){target=_blank} | 0.59.0 | | [CLOUDFORMATION](descriptors/cloudformation_cfn_lint.md) | :white_circle: | [Web Site](https://github.com/martysweet/cfn-lint){target=_blank} | -| [**checkov**](https://github.com/bridgecrewio/checkov){target=_blank} | 2.0.1076 | [Apache-2.0](licenses/checkov.md) | [TERRAFORM](descriptors/terraform_checkov.md) | :no_entry_sign: | [Repository](https://github.com/bridgecrewio/checkov){target=_blank} | -| [**checkstyle**](https://github.com/checkstyle/checkstyle){target=_blank} | 10.1 | [Other](licenses/checkstyle.md) | [JAVA](descriptors/java_checkstyle.md) | :heart: | [MegaLinter reference](https://checkstyle.sourceforge.io/index.html#Related_Tools_Active_Tools){target=_blank} | +| [**checkov**](https://github.com/bridgecrewio/checkov){target=_blank} | 2.0.1079 | [Apache-2.0](licenses/checkov.md) | [TERRAFORM](descriptors/terraform_checkov.md) | :no_entry_sign: | [Repository](https://github.com/bridgecrewio/checkov){target=_blank} | +| [**checkstyle**](https://github.com/checkstyle/checkstyle){target=_blank} | 10.2 | [Other](licenses/checkstyle.md) | [JAVA](descriptors/java_checkstyle.md) | :heart: | [MegaLinter reference](https://checkstyle.sourceforge.io/index.html#Related_Tools_Active_Tools){target=_blank} | | [**chktex**](https://www.nongnu.org/chktex){target=_blank} | 1.7.6 | | [LATEX](descriptors/latex_chktex.md) | :white_circle: | [Web Site](https://www.nongnu.org/chktex){target=_blank} | | [**clippy**](https://github.com/rust-lang/rust-clippy){target=_blank} | 0.1.60 | | [RUST](descriptors/rust_clippy.md) | :white_circle: | [Web Site](https://github.com/rust-lang/rust-clippy){target=_blank} | | [**clj-kondo**](https://github.com/borkdude/clj-kondo){target=_blank} | 2022.04.08 | | [CLOJURE](descriptors/clojure_clj_kondo.md) | :heart: | [MegaLinter reference](https://github.com/borkdude/clj-kondo/blob/master/doc/ci-integration.md#github){target=_blank} | diff --git a/docs/descriptors/java_checkstyle.md b/docs/descriptors/java_checkstyle.md index d22ff65f925..ea6baee4e87 100644 --- a/docs/descriptors/java_checkstyle.md +++ b/docs/descriptors/java_checkstyle.md @@ -9,7 +9,7 @@ ## checkstyle documentation -- Version in MegaLinter: **10.1** +- Version in MegaLinter: **10.2** - Visit [Official Web Site](https://checkstyle.sourceforge.io){target=_blank} - See [How to configure checkstyle rules](https://checkstyle.sourceforge.io/config.html#Overview){target=_blank} - If custom `sun_checks.xml` config file is not found, [sun_checks.xml](https://github.com/megalinter/megalinter/tree/main/TEMPLATES/sun_checks.xml){target=_blank} will be used diff --git a/docs/descriptors/python_black.md b/docs/descriptors/python_black.md index 8147373f139..89454d77696 100644 --- a/docs/descriptors/python_black.md +++ b/docs/descriptors/python_black.md @@ -112,9 +112,9 @@ Options: input). --python-cell-magics TEXT When processing Jupyter Notebooks, add the given magic to the list of known python- - magics (timeit, prun, pypy, python3, - capture, python, time). Useful for - formatting cells with custom python magics. + magics (python3, python, pypy, timeit, time, + capture, prun). Useful for formatting cells + with custom python magics. -S, --skip-string-normalization Don't normalize string quotes or prefixes. -C, --skip-magic-trailing-comma diff --git a/docs/descriptors/python_flake8.md b/docs/descriptors/python_flake8.md index 9e6ef1c4872..af5387b02bb 100644 --- a/docs/descriptors/python_flake8.md +++ b/docs/descriptors/python_flake8.md @@ -124,8 +124,8 @@ optional arguments: of opening bracket's line. --ignore errors Comma-separated list of errors and warnings to ignore (or skip). For example, ``--ignore=E4,E51,W234``. - (Default: ['E121', 'E24', 'E226', 'E126', 'E704', - 'W503', 'E123', 'W504']) + (Default: ['W504', 'E226', 'E126', 'W503', 'E704', + 'E121', 'E24', 'E123']) --extend-ignore errors Comma-separated list of errors and warnings to add to the list of ignored ones. For example, ``--extend- diff --git a/docs/descriptors/terraform_checkov.md b/docs/descriptors/terraform_checkov.md index 8993fcaaf55..e501f3fb338 100644 --- a/docs/descriptors/terraform_checkov.md +++ b/docs/descriptors/terraform_checkov.md @@ -9,7 +9,7 @@ ## checkov documentation -- Version in MegaLinter: **2.0.1076** +- Version in MegaLinter: **2.0.1079** - Visit [Official Web Site](https://www.checkov.io/){target=_blank} - See [How to disable checkov rules in files](https://www.checkov.io/2.Basics/Suppressing%20and%20Skipping%20Policies.html){target=_blank} - See [Index of problems detected by checkov](https://www.checkov.io/5.Policy%20Index/all.html){target=_blank}