Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#1329)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam authored Mar 13, 2022
1 parent 67eaf55 commit 0ef9d1d
Show file tree
Hide file tree
Showing 24 changed files with 55 additions and 53 deletions.
44 changes: 22 additions & 22 deletions .automation/generated/flavors-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -637,8 +637,8 @@
2468521
],
[
"2022-03-13T19:22:23",
2468675
"2022-03-13T19:08:51",
2468681
]
],
"ci_light": [
Expand Down Expand Up @@ -1279,7 +1279,7 @@
8322
],
[
"2022-03-13T19:22:23",
"2022-03-13T19:08:51",
8336
]
],
Expand Down Expand Up @@ -1921,7 +1921,7 @@
2417
],
[
"2022-03-13T19:22:23",
"2022-03-13T19:08:51",
2420
]
],
Expand Down Expand Up @@ -2563,8 +2563,8 @@
45034
],
[
"2022-03-13T19:22:23",
45066
"2022-03-13T19:08:51",
45067
]
],
"dotnet": [
Expand Down Expand Up @@ -3205,7 +3205,7 @@
290485
],
[
"2022-03-13T19:22:23",
"2022-03-13T19:08:51",
290502
]
],
Expand Down Expand Up @@ -3847,7 +3847,7 @@
8740
],
[
"2022-03-13T19:22:23",
"2022-03-13T19:08:51",
8742
]
],
Expand Down Expand Up @@ -4489,8 +4489,8 @@
63831
],
[
"2022-03-13T19:22:23",
63963
"2022-03-13T19:08:51",
63964
]
],
"javascript": [
Expand Down Expand Up @@ -5131,8 +5131,8 @@
96845
],
[
"2022-03-13T19:22:23",
96896
"2022-03-13T19:08:51",
96902
]
],
"php": [
Expand Down Expand Up @@ -5773,7 +5773,7 @@
4534
],
[
"2022-03-13T19:22:23",
"2022-03-13T19:08:51",
4547
]
],
Expand Down Expand Up @@ -6415,8 +6415,8 @@
64668
],
[
"2022-03-13T19:22:23",
64742
"2022-03-13T19:08:51",
64753
]
],
"ruby": [
Expand Down Expand Up @@ -7053,7 +7053,7 @@
1929
],
[
"2022-03-13T19:22:23",
"2022-03-13T19:08:51",
1929
]
],
Expand Down Expand Up @@ -7691,8 +7691,8 @@
2529
],
[
"2022-03-13T19:22:23",
2583
"2022-03-13T19:08:51",
2584
]
],
"salesforce": [
Expand Down Expand Up @@ -8333,7 +8333,7 @@
11321
],
[
"2022-03-13T19:22:23",
"2022-03-13T19:08:51",
11326
]
],
Expand Down Expand Up @@ -8971,7 +8971,7 @@
1460
],
[
"2022-03-13T19:22:23",
"2022-03-13T19:08:51",
1460
]
],
Expand Down Expand Up @@ -9609,7 +9609,7 @@
1501
],
[
"2022-03-13T19:22:23",
"2022-03-13T19:08:51",
1501
]
],
Expand Down Expand Up @@ -10251,7 +10251,7 @@
44539
],
[
"2022-03-13T19:22:23",
"2022-03-13T19:08:51",
44641
]
]
Expand Down
10 changes: 5 additions & 5 deletions .automation/generated/linter-helps.json
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +339,9 @@
" input).",
" --python-cell-magics TEXT When processing Jupyter Notebooks, add the",
" given magic to the list of known python-",
" magics (prun, time, python, python3, timeit,",
" capture, pypy). Useful for formatting cells",
" with custom python magics.",
" magics (prun, pypy, time, timeit, python3,",
" python, capture). Useful for formatting",
" cells with custom python magics.",
" -S, --skip-string-normalization",
" Don't normalize string quotes or prefixes.",
" -C, --skip-magic-trailing-comma",
Expand Down Expand Up @@ -1510,8 +1510,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: ['E24', 'E704', 'W503', 'E126', 'E121',",
" 'E226', 'W504', 'E123'])",
" (Default: ['W504', 'E226', 'E126', 'E121', 'E24',",
" 'E123', 'W503', 'E704'])",
" --extend-ignore errors",
" Comma-separated list of errors and warnings to add to",
" the list of ignored ones. For example, ``--extend-",
Expand Down
4 changes: 2 additions & 2 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
"bash-exec": "5.1.0",
"black": "22.1.0",
"cfn-lint": "0.58.3",
"checkov": "2.0.939",
"checkov": "2.0.940",
"checkstyle": "10.0",
"chktex": "1.7.6",
"clippy": "0.1.59",
"clj-kondo": "2022.02.09",
"coffeelint": "5.2.4",
"cpplint": "1.6.0",
"cspell": "5.19.0",
"cspell": "5.19.1",
"dartanalyzer": "0.0.0",
"dockerfilelint": "1.8.0",
"dotenv-linter": "3.2.0",
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-linter.yml file, or with `megalinter/megalinter:beta` docker image

- Linter versions upgrades
- [cspell](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell) from 5.19.0 to **5.19.1** on 2022-03-13
- [checkov](https://www.checkov.io/) from 2.0.939 to **2.0.940** on 2022-03-13
<!-- linter-versions-end -->

## [v5.9.0] - 2022-03-13
Expand Down
4 changes: 2 additions & 2 deletions docs/all_linters.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
| [**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.3 | <!-- --> | [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.939 | [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.940 | [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.0 | [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.59 | <!-- --> | [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.02.09 | <!-- --> | [CLOJURE](descriptors/clojure_clj_kondo.md) | :heart: | [MegaLinter reference](https://github.com/borkdude/clj-kondo/blob/master/doc/ci-integration.md#github){target=_blank} |
| [**coffeelint**](https://github.com/clutchski/coffeelint){target=_blank} | 5.2.4 | [Other](licenses/coffeelint.md) | [COFFEE](descriptors/coffee_coffeelint.md) | :white_circle: | [Repository](https://github.com/clutchski/coffeelint){target=_blank} |
| [**cpplint**](https://github.com/cpplint/cpplint){target=_blank} | 1.6.0 | <!-- --> | [C](descriptors/c_cpplint.md)<br/> [CPP](descriptors/cpp_cpplint.md) | :white_circle: | [Web Site](https://github.com/cpplint/cpplint){target=_blank} |
| [**cspell**](https://github.com/streetsidesoftware/cspell){target=_blank} | 5.19.0 | [MIT](licenses/cspell.md) | [SPELL](descriptors/spell_cspell.md) | :heart: | [MegaLinter reference](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell#mega-linter){target=_blank} |
| [**cspell**](https://github.com/streetsidesoftware/cspell){target=_blank} | 5.19.1 | [MIT](licenses/cspell.md) | [SPELL](descriptors/spell_cspell.md) | :heart: | [MegaLinter reference](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell#mega-linter){target=_blank} |
| [**dartanalyzer**](https://github.com/dart-lang/sdk){target=_blank} | N/A | [BSD-3-Clause](licenses/dartanalyzer.md) | [DART](descriptors/dart_dartanalyzer.md) | :no_entry_sign: | [Repository](https://github.com/dart-lang/sdk){target=_blank} |
| [**dockerfilelint**](https://github.com/replicatedhq/dockerfilelint){target=_blank} | 1.8.0 | <!-- --> | [DOCKERFILE](descriptors/dockerfile_dockerfilelint.md) | :white_circle: | [Web Site](https://github.com/replicatedhq/dockerfilelint){target=_blank} |
| [**dotenv-linter**](https://github.com/dotenv-linter/dotenv-linter){target=_blank} | 3.2.0 | [MIT](licenses/dotenv-linter.md) | [ENV](descriptors/env_dotenv_linter.md) | :heart: | [MegaLinter reference](https://dotenv-linter.github.io/#/integrations/mega_linter){target=_blank} |
Expand Down
6 changes: 3 additions & 3 deletions docs/descriptors/python_black.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 (prun, time, python, python3, timeit,
capture, pypy). Useful for formatting cells
with custom python magics.
magics (prun, pypy, time, timeit, python3,
python, capture). Useful for formatting
cells with custom python magics.
-S, --skip-string-normalization
Don't normalize string quotes or prefixes.
-C, --skip-magic-trailing-comma
Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/python_flake8.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: ['E24', 'E704', 'W503', 'E126', 'E121',
'E226', 'W504', 'E123'])
(Default: ['W504', 'E226', 'E126', 'E121', 'E24',
'E123', 'W503', 'E704'])
--extend-ignore errors
Comma-separated list of errors and warnings to add to
the list of ignored ones. For example, ``--extend-
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/spell_cspell.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Copy it at the root of your repository, read it, remove real spelling errors (af

## cspell documentation

- Version in MegaLinter: **5.19.0**
- Version in MegaLinter: **5.19.1**
- Visit [Official Web Site](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell#readme){target=_blank}
- See [How to configure cspell rules](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell#customization){target=_blank}
- See [How to disable cspell rules in files](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell#enable--disable-checking-sections-of-code){target=_blank}
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/terraform_checkov.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

## checkov documentation

- Version in MegaLinter: **2.0.939**
- Version in MegaLinter: **2.0.940**
- 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}
Expand Down
2 changes: 1 addition & 1 deletion flavors/ci_light/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-ci_light:v5.9.0"
image: "docker://megalinter/megalinter-ci_light:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/dart/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-dart:v5.9.0"
image: "docker://megalinter/megalinter-dart:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/documentation/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-documentation:v5.9.0"
image: "docker://megalinter/megalinter-documentation:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/dotnet/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-dotnet:v5.9.0"
image: "docker://megalinter/megalinter-dotnet:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/go/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-go:v5.9.0"
image: "docker://megalinter/megalinter-go:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/java/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-java:v5.9.0"
image: "docker://megalinter/megalinter-java:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/javascript/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-javascript:v5.9.0"
image: "docker://megalinter/megalinter-javascript:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/php/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-php:v5.9.0"
image: "docker://megalinter/megalinter-php:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/python/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-python:v5.9.0"
image: "docker://megalinter/megalinter-python:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/ruby/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-ruby:v5.9.0"
image: "docker://megalinter/megalinter-ruby:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion flavors/rust/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://megalinter/megalinter-rust:v5.9.0"
image: "docker://megalinter/megalinter-rust:v5"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
Loading

0 comments on commit 0ef9d1d

Please sign in to comment.