Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#3350)
Browse files Browse the repository at this point in the history
* [automation] Auto-update linters version, help and documentation

* [MegaLinter] Apply linters fixes

---------

Co-authored-by: nvuillam <[email protected]>
  • Loading branch information
nvuillam and nvuillam authored Feb 7, 2024
1 parent fe838bf commit 246b7ed
Show file tree
Hide file tree
Showing 16 changed files with 729 additions and 727 deletions.
698 changes: 349 additions & 349 deletions .automation/generated/linter-helps.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"actionlint": "1.6.26",
"ansible-lint": "6.22.2",
"ansible-lint": "24.2.0",
"arm-ttk": "0.0.0",
"bandit": "1.7.7",
"bash-exec": "5.2.21",
"bicep_linter": "0.24.24",
"bicep_linter": "0.25.3",
"black": "24.1.1",
"cfn-lint": "0.85.0",
"checkmake": "0.2.0",
"checkov": "3.2.12",
"checkov": "3.2.17",
"checkstyle": "10.13.0",
"chktex": "1.7.8",
"clang-format": "17.0.5",
Expand Down Expand Up @@ -94,7 +94,7 @@
"shellcheck": "0.9.0",
"shfmt": "3.7.0",
"snakefmt": "0.10.0",
"snakemake": "8.4.6",
"snakemake": "8.4.7",
"spectral": "6.11.0",
"sql-lint": "1.0.0",
"sqlfluff": "2.3.5",
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [sfdx-scanner-lwc](https://forcedotcom.github.io/sfdx-scanner/) from 3.20.0 to **3.21.0** on 2024-02-06
- [snakemake](https://snakemake.readthedocs.io/en/stable/) from 8.4.4 to **8.4.6** on 2024-02-06
- [yamllint](https://yamllint.readthedocs.io/) from 1.33.0 to **1.34.0** on 2024-02-06
- [ansible-lint](https://ansible-lint.readthedocs.io/) from 6.22.2 to **24.2.0** on 2024-02-07
- [bicep_linter](https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/linter) from 0.24.24 to **0.25.3** on 2024-02-07
- [checkov](https://www.checkov.io/) from 3.2.12 to **3.2.17** on 2024-02-07
- [snakemake](https://snakemake.readthedocs.io/en/stable/) from 8.4.6 to **8.4.7** on 2024-02-07
<!-- linter-versions-end -->

## [v7.8.0] - 2024-01-21
Expand Down
8 changes: 4 additions & 4 deletions docs/all_linters.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/descriptors/ansible_ansible_lint.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: How to use ansible-lint (configure, ignore files, ignore errors, he

## ansible-lint documentation

- Version in MegaLinter: **6.22.2**
- Version in MegaLinter: **24.2.0**
- Visit [Official Web Site](https://ansible-lint.readthedocs.io/){target=_blank}
- See [How to configure ansible-lint rules](https://ansible-lint.readthedocs.io/configuring/#configuration-file){target=_blank}
- See [How to disable ansible-lint rules in files](https://ansible-lint.readthedocs.io/usage/#muting-warnings-to-avoid-false-positives){target=_blank}
Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/bicep_bicep_linter.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use a `bicepconfig.json` file. For more information, see the [documentation for

## bicep_linter documentation

- Version in MegaLinter: **0.24.24**
- Version in MegaLinter: **0.25.3**
- Visit [Official Web Site](https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/linter){target=_blank}
- See [How to configure bicep_linter rules](https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/bicep-config){target=_blank}
- See [How to disable bicep_linter rules in files](https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/linter#silencing-false-positives){target=_blank}
Expand Down Expand Up @@ -86,7 +86,7 @@ az bicep build -f infra.bicep
### Help content

```shell
Bicep CLI version 0.24.24 (5646341b0c)
Bicep CLI version 0.25.3 (862708594a)

Usage:
bicep build [options] <file>
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/kubernetes_kubescape.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Available Commands:
completion Generate autocompletion script
config Handle cached configurations
delete Delete configurations in Kubescape SaaS version
download Download attack-tracks,controls-inputs,exceptions,control,framework,artifacts
download Download exceptions,control,framework,artifacts,attack-tracks,controls-inputs
fix Fix misconfiguration in files
help Help about any command
list List frameworks/controls will list the supported frameworks and controls
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/markdown_markdown_link_check.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ markdown-link-check -c .markdown-link-check.json myfile.md
### Help content

```shell
(node:1696) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:1666) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Usage: markdown-link-check [options] [filenamesOrUrls...]

Expand Down
654 changes: 327 additions & 327 deletions docs/descriptors/python_pylint.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/descriptors/repository_checkov.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/descriptors/salesforce_lightning_flow_scanner.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ sfdx flow:scan
### Help content

```shell
(node:1928) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:1904) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Try to resolve the errors in the following flows:

Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/salesforce_sfdx_scanner_apex.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ sfdx scanner:run
### Help content

```shell
(node:1944) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:1920) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
scan a codebase with a selection of rules

Expand Down Expand Up @@ -138,7 +138,7 @@ FLAGS
COMMANDS
scanner run dfa scan codebase with all DFA rules
(node:1962) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:1937) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
› Warning: Plugin @salesforce/sfdx-scanner (3.21.0) differs from the version
› specified by sf (3.20.0)
Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/salesforce_sfdx_scanner_aura.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ sfdx scanner:run
### Help content

```shell
(node:2165) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:2143) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
scan a codebase with a selection of rules

Expand Down Expand Up @@ -134,7 +134,7 @@ FLAGS
COMMANDS
scanner run dfa scan codebase with all DFA rules
(node:2184) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:2162) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
› Warning: Plugin @salesforce/sfdx-scanner (3.21.0) differs from the version
› specified by sf (3.20.0)
Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/salesforce_sfdx_scanner_lwc.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ sfdx scanner:run
### Help content

```shell
(node:2392) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:2374) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
scan a codebase with a selection of rules

Expand Down Expand Up @@ -134,7 +134,7 @@ FLAGS
COMMANDS
scanner run dfa scan codebase with all DFA rules
(node:2408) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:2392) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
› Warning: Plugin @salesforce/sfdx-scanner (3.21.0) differs from the version
› specified by sf (3.20.0)
Expand Down
22 changes: 11 additions & 11 deletions docs/descriptors/snakemake_snakemake.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: How to use snakemake (configure, ignore files, ignore errors, help

## snakemake documentation

- Version in MegaLinter: **8.4.6**
- Version in MegaLinter: **8.4.7**
- Visit [Official Web Site](https://snakemake.readthedocs.io/en/stable/){target=_blank}

[![snakemake - GitHub](https://gh-card.dev/repos/snakemake/snakemake.svg?fullname=)](https://github.com/snakemake/snakemake){target=_blank}
Expand Down Expand Up @@ -133,7 +133,7 @@ usage: snakemake [-h] [--dry-run] [--profile PROFILE]
[--detailed-summary] [--archive FILE]
[--cleanup-metadata FILE [FILE ...]] [--cleanup-shadow]
[--skip-script-cleanup] [--unlock]
[--list-changes {params,code,input}] [--list-input-changes]
[--list-changes {code,input,params}] [--list-input-changes]
[--list-params-changes] [--list-untracked]
[--delete-all-output | --delete-temp-output]
[--keep-incomplete] [--drop-metadata]
Expand Down Expand Up @@ -162,7 +162,7 @@ usage: snakemake [-h] [--dry-run] [--profile PROFILE]
[--shared-fs-usage {input-output,persistence,software-deployment,source-cache,sources,storage-local-copies,none} [{input-output,persistence,software-deployment,source-cache,sources,storage-local-copies,none} ...]]
[--scheduler-greediness SCHEDULER_GREEDINESS] [--no-hooks]
[--debug] [--runtime-profile FILE]
[--mode {default,subprocess,remote}] [--show-failed-logs]
[--mode {remote,default,subprocess}] [--show-failed-logs]
[--log-handler-script FILE] [--log-service {none,slack,wms}]
[--job-deploy-sources] [--container-image IMAGE]
[--immediate-submit] [--jobscript SCRIPT] [--jobname NAME]
Expand Down Expand Up @@ -404,9 +404,9 @@ EXECUTION:
way of just considering file modification dates, use '
--rerun-trigger mtime'. (default:
frozenset({<RerunTrigger.CODE: 4>,
<RerunTrigger.INPUT: 2>, <RerunTrigger.PARAMS: 1>,
<RerunTrigger.SOFTWARE_ENV: 3>, <RerunTrigger.MTIME:
0>}))
0>, <RerunTrigger.INPUT: 2>, <RerunTrigger.PARAMS:
1>}))
--force, -f Force the execution of the selected target or the
first rule regardless of already created output.
(default: False)
Expand Down Expand Up @@ -643,7 +643,7 @@ UTILITIES:
(default: False)
--unlock Remove a lock on the working directory. (default:
False)
--list-changes {params,code,input}, --lc {params,code,input}
--list-changes {code,input,params}, --lc {code,input,params}
List all output files for which the rule body (run or
shell) have changed in the Snakefile. (default: None)
--list-input-changes, --li
Expand Down Expand Up @@ -823,11 +823,11 @@ BEHAVIOR:
and output files will be handled exclusively by the
storage provider. (default:
frozenset({<SharedFSUsage.STORAGE_LOCAL_COPIES: 4>,
<SharedFSUsage.SOURCES: 3>,
<SharedFSUsage.SOFTWARE_DEPLOYMENT: 2>,
<SharedFSUsage.SOURCE_CACHE: 5>,
<SharedFSUsage.PERSISTENCE: 0>,
<SharedFSUsage.INPUT_OUTPUT: 1>}))
<SharedFSUsage.INPUT_OUTPUT: 1>,
<SharedFSUsage.SOURCE_CACHE: 5>,
<SharedFSUsage.SOURCES: 3>}))
--scheduler-greediness SCHEDULER_GREEDINESS, --greediness SCHEDULER_GREEDINESS
Set the greediness of scheduling. This value between 0
and 1 determines how careful jobs are selected for
Expand All @@ -841,7 +841,7 @@ BEHAVIOR:
--runtime-profile FILE
Profile Snakemake and write the output to FILE. This
requires yappi to be installed. (default: None)
--mode {default,subprocess,remote}
--mode {remote,default,subprocess}
Set execution mode of Snakemake (internal use only).
(default: default)
--show-failed-logs Automatically display logs of failed jobs. (default:
Expand Down Expand Up @@ -872,7 +872,7 @@ REMOTE EXECUTION:
is up to your responsibility. Any used image has to
contain a working snakemake installation that is
compatible with (or ideally the same as) the currently
running version. (default: snakemake/snakemake:v8.4.6)
running version. (default: snakemake/snakemake:v8.4.7)
--immediate-submit, --is
Immediately submit all jobs to the cluster instead of
waiting for present input files. This will fail,
Expand Down
Loading

0 comments on commit 246b7ed

Please sign in to comment.