From f84f4fb791dc49323f72f822cb2169e76b299f59 Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Thu, 3 Feb 2022 19:25:25 +0100 Subject: [PATCH] [automation] Auto-update linters version, help and documentation (#1243) --- .automation/generated/flavors-stats.json | 64 +++++++++++----------- .automation/generated/linter-helps.json | 8 +-- .automation/generated/linter-versions.json | 2 +- CHANGELOG.md | 1 + docs/all_linters.md | 2 +- docs/descriptors/python_black.md | 4 +- docs/descriptors/python_flake8.md | 4 +- docs/descriptors/terraform_checkov.md | 2 +- 8 files changed, 44 insertions(+), 43 deletions(-) diff --git a/.automation/generated/flavors-stats.json b/.automation/generated/flavors-stats.json index a64c60953bf..02832648a48 100644 --- a/.automation/generated/flavors-stats.json +++ b/.automation/generated/flavors-stats.json @@ -541,8 +541,8 @@ 2435324 ], [ - "2022-02-03T08:57:56", - 2435656 + "2022-02-03T10:37:04", + 2435745 ] ], "ci_light": [ @@ -1087,8 +1087,8 @@ 6928 ], [ - "2022-02-03T08:57:56", - 6956 + "2022-02-03T10:37:04", + 6957 ] ], "dart": [ @@ -1633,8 +1633,8 @@ 2124 ], [ - "2022-02-03T08:57:56", - 2149 + "2022-02-03T10:37:04", + 2151 ] ], "documentation": [ @@ -2179,8 +2179,8 @@ 35493 ], [ - "2022-02-03T08:57:56", - 35545 + "2022-02-03T10:37:04", + 35591 ] ], "dotnet": [ @@ -2725,8 +2725,8 @@ 275454 ], [ - "2022-02-03T08:57:56", - 275665 + "2022-02-03T10:37:04", + 275710 ] ], "go": [ @@ -3271,8 +3271,8 @@ 7616 ], [ - "2022-02-03T08:57:56", - 7645 + "2022-02-03T10:37:04", + 7650 ] ], "java": [ @@ -3817,8 +3817,8 @@ 54817 ], [ - "2022-02-03T08:57:56", - 54908 + "2022-02-03T10:37:04", + 54923 ] ], "javascript": [ @@ -4363,8 +4363,8 @@ 82004 ], [ - "2022-02-03T08:57:56", - 82284 + "2022-02-03T10:37:04", + 82333 ] ], "php": [ @@ -4909,8 +4909,8 @@ 3899 ], [ - "2022-02-03T08:57:56", - 3920 + "2022-02-03T10:37:04", + 3921 ] ], "python": [ @@ -5455,8 +5455,8 @@ 52890 ], [ - "2022-02-03T08:57:56", - 53080 + "2022-02-03T10:37:04", + 53123 ] ], "ruby": [ @@ -5997,8 +5997,8 @@ 1819 ], [ - "2022-02-03T08:57:56", - 1839 + "2022-02-03T10:37:04", + 1840 ] ], "rust": [ @@ -6539,8 +6539,8 @@ 1551 ], [ - "2022-02-03T08:57:56", - 1571 + "2022-02-03T10:37:04", + 1572 ] ], "salesforce": [ @@ -7085,8 +7085,8 @@ 10246 ], [ - "2022-02-03T08:57:56", - 10273 + "2022-02-03T10:37:04", + 10275 ] ], "scala": [ @@ -7627,8 +7627,8 @@ 1401 ], [ - "2022-02-03T08:57:56", - 1421 + "2022-02-03T10:37:04", + 1422 ] ], "swift": [ @@ -8169,8 +8169,8 @@ 1441 ], [ - "2022-02-03T08:57:56", - 1461 + "2022-02-03T10:37:04", + 1462 ] ], "terraform": [ @@ -8715,8 +8715,8 @@ 35265 ], [ - "2022-02-03T08:57:56", - 35368 + "2022-02-03T10:37:04", + 35398 ] ] } \ No newline at end of file diff --git a/.automation/generated/linter-helps.json b/.automation/generated/linter-helps.json index e2adfbf7d7d..d5e21de82d3 100644 --- a/.automation/generated/linter-helps.json +++ b/.automation/generated/linter-helps.json @@ -329,8 +329,8 @@ " input).", " --python-cell-magics TEXT When processing Jupyter Notebooks, add the", " given magic to the list of known python-", - " magics (prun, python, python3, pypy, time,", - " capture, timeit). Useful for formatting", + " magics (pypy, capture, python, python3,", + " timeit, time, prun). Useful for formatting", " cells with custom python magics.", " -S, --skip-string-normalization", " Don't normalize string quotes or prefixes.", @@ -1405,8 +1405,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: ['W504', 'E126', 'E121', 'E226', 'E123',", - " 'E704', 'W503', 'E24'])", + " (Default: ['E126', 'E226', 'W504', 'E704', 'E24',", + " 'W503', 'E123', 'E121'])", " --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 c804d4ec749..a0451485e44 100644 --- a/.automation/generated/linter-versions.json +++ b/.automation/generated/linter-versions.json @@ -6,7 +6,7 @@ "bash-exec": "5.1.0", "black": "22.1.0", "cfn-lint": "0.58.0", - "checkov": "2.0.783", + "checkov": "2.0.786", "checkstyle": "9.3", "chktex": "1.7.6", "clippy": "0.1.58", diff --git a/CHANGELOG.md b/CHANGELOG.md index f0e171911de..36269c75184 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-l - [terraform-fmt](https://www.terraform.io/docs/cli/commands/fmt.html) from 1.1.4 to **1.1.5** on 2022-02-03 - [rubocop](https://rubocop.org/) from 1.25.0 to **1.25.1** on 2022-02-03 - [checkov](https://www.checkov.io/) from 2.0.782 to **2.0.783** on 2022-02-03 + - [checkov](https://www.checkov.io/) from 2.0.783 to **2.0.786** on 2022-02-03 ## [v5.7.1] - 2022-02-02 diff --git a/docs/all_linters.md b/docs/all_linters.md index 16f14feff94..139b7d1c1b2 100644 --- a/docs/all_linters.md +++ b/docs/all_linters.md @@ -12,7 +12,7 @@ | [**bash-exec**](https://tiswww.case.edu/php/chet/bash/bashtop.html){target=_blank} | 5.1.0 | | [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.1.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.58.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.783 | [Apache-2.0](licenses/checkov.md) | [TERRAFORM](descriptors/terraform_checkov.md) | :no_entry_sign: | [Repository](https://github.com/bridgecrewio/checkov){target=_blank} | +| [**checkov**](https://github.com/bridgecrewio/checkov){target=_blank} | 2.0.786 | [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} | 9.3 | [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.58 | | [RUST](descriptors/rust_clippy.md) | :white_circle: | [Web Site](https://github.com/rust-lang/rust-clippy){target=_blank} | diff --git a/docs/descriptors/python_black.md b/docs/descriptors/python_black.md index 5d6a28f8322..a1dc3552494 100644 --- a/docs/descriptors/python_black.md +++ b/docs/descriptors/python_black.md @@ -112,8 +112,8 @@ Options: input). --python-cell-magics TEXT When processing Jupyter Notebooks, add the given magic to the list of known python- - magics (prun, python, python3, pypy, time, - capture, timeit). Useful for formatting + magics (pypy, capture, python, python3, + timeit, time, prun). Useful for formatting cells with custom python magics. -S, --skip-string-normalization Don't normalize string quotes or prefixes. diff --git a/docs/descriptors/python_flake8.md b/docs/descriptors/python_flake8.md index 80772445979..81f704ea3b7 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: ['W504', 'E126', 'E121', 'E226', 'E123', - 'E704', 'W503', 'E24']) + (Default: ['E126', 'E226', 'W504', 'E704', 'E24', + 'W503', 'E123', 'E121']) --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 040e95b980d..39d31cfdfc4 100644 --- a/docs/descriptors/terraform_checkov.md +++ b/docs/descriptors/terraform_checkov.md @@ -9,7 +9,7 @@ ## checkov documentation -- Version in MegaLinter: **2.0.783** +- Version in MegaLinter: **2.0.786** - 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}