Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam authored Mar 10, 2022
1 parent 8ec50e3 commit 0149635
Show file tree
Hide file tree
Showing 10 changed files with 158 additions and 80 deletions.
64 changes: 64 additions & 0 deletions .automation/generated/flavors-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,10 @@
[
"2022-03-09T07:35:11",
2467440
],
[
"2022-03-10T01:51:49",
2467771
]
],
"ci_light": [
Expand Down Expand Up @@ -1249,6 +1253,10 @@
[
"2022-03-09T07:35:11",
8250
],
[
"2022-03-10T01:51:49",
8281
]
],
"dart": [
Expand Down Expand Up @@ -1875,6 +1883,10 @@
[
"2022-03-09T07:35:11",
2409
],
[
"2022-03-10T01:51:49",
2415
]
],
"documentation": [
Expand Down Expand Up @@ -2501,6 +2513,10 @@
[
"2022-03-09T07:35:11",
44801
],
[
"2022-03-10T01:51:49",
44888
]
],
"dotnet": [
Expand Down Expand Up @@ -3127,6 +3143,10 @@
[
"2022-03-09T07:35:11",
290009
],
[
"2022-03-10T01:51:49",
290174
]
],
"go": [
Expand Down Expand Up @@ -3753,6 +3773,10 @@
[
"2022-03-09T07:35:11",
8703
],
[
"2022-03-10T01:51:49",
8712
]
],
"java": [
Expand Down Expand Up @@ -4379,6 +4403,10 @@
[
"2022-03-09T07:35:11",
63229
],
[
"2022-03-10T01:51:49",
63477
]
],
"javascript": [
Expand Down Expand Up @@ -5005,6 +5033,10 @@
[
"2022-03-09T07:35:11",
96223
],
[
"2022-03-10T01:51:49",
96414
]
],
"php": [
Expand Down Expand Up @@ -5631,6 +5663,10 @@
[
"2022-03-09T07:35:11",
4502
],
[
"2022-03-10T01:51:49",
4515
]
],
"python": [
Expand Down Expand Up @@ -6257,6 +6293,10 @@
[
"2022-03-09T07:35:11",
64274
],
[
"2022-03-10T01:51:49",
64388
]
],
"ruby": [
Expand Down Expand Up @@ -6879,6 +6919,10 @@
[
"2022-03-09T07:35:11",
1918
],
[
"2022-03-10T01:51:49",
1929
]
],
"rust": [
Expand Down Expand Up @@ -7501,6 +7545,10 @@
[
"2022-03-09T07:35:11",
2458
],
[
"2022-03-10T01:51:49",
2478
]
],
"salesforce": [
Expand Down Expand Up @@ -8127,6 +8175,10 @@
[
"2022-03-09T07:35:11",
11285
],
[
"2022-03-10T01:51:49",
11293
]
],
"scala": [
Expand Down Expand Up @@ -8749,6 +8801,10 @@
[
"2022-03-09T07:35:11",
1459
],
[
"2022-03-10T01:51:49",
1459
]
],
"swift": [
Expand Down Expand Up @@ -9371,6 +9427,10 @@
[
"2022-03-09T07:35:11",
1500
],
[
"2022-03-10T01:51:49",
1500
]
],
"terraform": [
Expand Down Expand Up @@ -9997,6 +10057,10 @@
[
"2022-03-09T07:35:11",
43954
],
[
"2022-03-10T01:51:49",
44076
]
]
}
80 changes: 43 additions & 37 deletions .automation/generated/linter-helps.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"bash-exec": "5.1.0",
"black": "22.1.0",
"cfn-lint": "0.58.3",
"checkov": "2.0.927",
"checkov": "2.0.931",
"checkstyle": "10.0",
"chktex": "1.7.6",
"clippy": "0.1.59",
Expand Down Expand Up @@ -60,7 +60,7 @@
"rst-lint": "1.4.0",
"rstcheck": "3.3.1",
"rstfmt": "0.0.10",
"rubocop": "1.25.1",
"rubocop": "1.26.0",
"scalafix": "0.9.34",
"scss-lint": "0.59.0",
"secretlint": "4.1.0",
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-l
- [cfn-lint](https://github.com/martysweet/cfn-lint) from 0.58.2 to **0.58.3** on 2022-03-09
- [swiftlint](https://github.com/realm/SwiftLint) from 0.46.4 to **0.46.5** on 2022-03-09
- [checkov](https://www.checkov.io/) from 2.0.924 to **2.0.927** on 2022-03-09
- [rubocop](https://rubocop.org/) from 1.25.1 to **1.26.0** on 2022-03-10
- [checkov](https://www.checkov.io/) from 2.0.927 to **2.0.931** on 2022-03-10
<!-- linter-versions-end -->

- New linter `kubeconform` to validate Kubernetes manifests with updated schemas
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,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.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.927 | [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.931 | [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} |
Expand Down Expand Up @@ -66,7 +66,7 @@
| [**rst-lint**](https://github.com/twolfson/restructuredtext-lint){target=_blank} | 1.4.0 | <!-- --> | [RST](descriptors/rst_rst_lint.md) | :heart: | [MegaLinter reference](https://github.com/twolfson/restructuredtext-lint/wiki/Integration-in-other-tools#integration-in-other-tools){target=_blank} |
| [**rstcheck**](https://github.com/myint/rstcheck){target=_blank} | 3.3.1 | <!-- --> | [RST](descriptors/rst_rstcheck.md) | :hammer_and_wrench: | [Pull Request](https://github.com/myint/rstcheck/pull/73){target=_blank} |
| [**rstfmt**](https://github.com/dzhu/rstfmt){target=_blank} | 0.0.10 | <!-- --> | [RST](descriptors/rst_rstfmt.md) | :hammer_and_wrench: | [Pull Request](https://github.com/dzhu/rstfmt/pull/1){target=_blank} |
| [**rubocop**](https://github.com/rubocop-hq/rubocop){target=_blank} | 1.25.1 | [MIT](licenses/rubocop.md) | [RUBY](descriptors/ruby_rubocop.md) | :heart: | [MegaLinter reference](https://docs.rubocop.org/rubocop/integration_with_other_tools.html#mega-linter-integration){target=_blank} |
| [**rubocop**](https://github.com/rubocop-hq/rubocop){target=_blank} | 1.26.0 | [MIT](licenses/rubocop.md) | [RUBY](descriptors/ruby_rubocop.md) | :heart: | [MegaLinter reference](https://docs.rubocop.org/rubocop/integration_with_other_tools.html#mega-linter-integration){target=_blank} |
| [**scalafix**](https://github.com/scalacenter/scalafix){target=_blank} | 0.9.34 | [Other](licenses/scalafix.md) | [SCALA](descriptors/scala_scalafix.md) | :heart: | [MegaLinter reference](https://scalacenter.github.io/scalafix/docs/users/installation.html#plugins-for-other-build-tools){target=_blank} |
| [**scss-lint**](https://github.com/sds/scss-lint){target=_blank} | 0.59.0 | <!-- --> | [CSS](descriptors/css_scss_lint.md) | :white_circle: | [Web Site](https://github.com/sds/scss-lint){target=_blank} |
| [**secretlint**](https://github.com/secretlint/secretlint){target=_blank} | 4.1.0 | [MIT](licenses/secretlint.md) | [CREDENTIALS](descriptors/credentials_secretlint.md) | :heart: | [MegaLinter reference](https://github.com/secretlint/secretlint#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 (python3, python, capture, prun,
time, pypy, timeit). Useful for formatting
cells with custom python magics.
magics (time, timeit, python, capture, prun,
pypy, python3). 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', 'W503', 'E123', 'W504', 'E226',
'E704', 'E126', 'E121'])
(Default: ['E704', 'E121', 'E126', 'W503', 'W504',
'E226', 'E24', 'E123'])
--extend-ignore errors
Comma-separated list of errors and warnings to add to
the list of ignored ones. For example, ``--extend-
Expand Down
12 changes: 9 additions & 3 deletions docs/descriptors/ruby_rubocop.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

## rubocop documentation

- Version in MegaLinter: **1.25.1**
- Version in MegaLinter: **1.26.0**
- Visit [Official Web Site](https://rubocop.org/){target=_blank}
- See [How to configure rubocop rules](https://docs.rubocop.org/rubocop/0.92/configuration.html){target=_blank}
- If custom `.ruby-lint.yml` config file is not found, [.ruby-lint.yml](https://github.com/megalinter/megalinter/tree/main/TEMPLATES/.ruby-lint.yml){target=_blank} will be used
Expand Down Expand Up @@ -126,8 +126,14 @@ Basic Options:
reports. This is useful for editor integration.
-P, --[no-]parallel Use available CPUs to execute inspection in
parallel. Default is true.
--fail-level SEVERITY Minimum severity (A/I/R/C/W/E/F) for exit
with error code.
--fail-level SEVERITY Minimum severity for exit with error code.
[A] autocorrect
[I] info
[R] refactor
[C] convention
[W] warning
[E] error
[F] fatal

Caching:
-C, --cache FLAG Use result caching (FLAG=true) or don't
Expand Down
Loading

0 comments on commit 0149635

Please sign in to comment.