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 committed May 10, 2022
1 parent 0126180 commit 3bf2601
Show file tree
Hide file tree
Showing 12 changed files with 489 additions and 423 deletions.
64 changes: 64 additions & 0 deletions .automation/generated/flavors-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,10 @@
[
"2022-05-08T09:22:07",
2491460
],
[
"2022-05-10T01:51:32",
2492234
]
],
"ci_light": [
Expand Down Expand Up @@ -1577,6 +1581,10 @@
[
"2022-05-08T09:22:07",
9851
],
[
"2022-05-10T01:51:32",
9928
]
],
"dart": [
Expand Down Expand Up @@ -2367,6 +2375,10 @@
[
"2022-05-08T09:22:07",
2736
],
[
"2022-05-10T01:51:32",
2737
]
],
"documentation": [
Expand Down Expand Up @@ -3157,6 +3169,10 @@
[
"2022-05-08T09:22:07",
52328
],
[
"2022-05-10T01:51:32",
52640
]
],
"dotnet": [
Expand Down Expand Up @@ -3947,6 +3963,10 @@
[
"2022-05-08T09:22:07",
296513
],
[
"2022-05-10T01:51:32",
296771
]
],
"go": [
Expand Down Expand Up @@ -4737,6 +4757,10 @@
[
"2022-05-08T09:22:07",
10511
],
[
"2022-05-10T01:51:32",
10583
]
],
"java": [
Expand Down Expand Up @@ -5527,6 +5551,10 @@
[
"2022-05-08T09:22:07",
73265
],
[
"2022-05-10T01:51:32",
73433
]
],
"javascript": [
Expand Down Expand Up @@ -6317,6 +6345,10 @@
[
"2022-05-08T09:22:07",
113508
],
[
"2022-05-10T01:51:32",
113838
]
],
"php": [
Expand Down Expand Up @@ -7107,6 +7139,10 @@
[
"2022-05-08T09:22:07",
7929
],
[
"2022-05-10T01:51:32",
7962
]
],
"python": [
Expand Down Expand Up @@ -7897,6 +7933,10 @@
[
"2022-05-08T09:22:07",
73563
],
[
"2022-05-10T01:51:32",
73971
]
],
"ruby": [
Expand Down Expand Up @@ -8683,6 +8723,10 @@
[
"2022-05-08T09:22:07",
2181
],
[
"2022-05-10T01:51:32",
2190
]
],
"rust": [
Expand Down Expand Up @@ -9469,6 +9513,10 @@
[
"2022-05-08T09:22:07",
3202
],
[
"2022-05-10T01:51:32",
3202
]
],
"salesforce": [
Expand Down Expand Up @@ -10259,6 +10307,10 @@
[
"2022-05-08T09:22:07",
11972
],
[
"2022-05-10T01:51:32",
11974
]
],
"scala": [
Expand Down Expand Up @@ -11045,6 +11097,10 @@
[
"2022-05-08T09:22:07",
1468
],
[
"2022-05-10T01:51:32",
1468
]
],
"swift": [
Expand Down Expand Up @@ -11831,6 +11887,10 @@
[
"2022-05-08T09:22:07",
1520
],
[
"2022-05-10T01:51:32",
1520
]
],
"terraform": [
Expand Down Expand Up @@ -12621,6 +12681,10 @@
[
"2022-05-08T09:22:07",
59863
],
[
"2022-05-10T01:51:32",
60910
]
]
}
52 changes: 26 additions & 26 deletions .automation/generated/linter-helps.json
Original file line number Diff line number Diff line change
Expand Up @@ -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, python3, prun, capture,",
" time, python, pypy). Useful for formatting",
" cells with custom python magics.",
" magics (time, timeit, pypy, capture, python,",
" python3, 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",
Expand Down Expand Up @@ -483,8 +483,8 @@
" [-o {cli,cyclonedx,json,junitxml,github_failed_only,sarif}]",
" [--output-file-path OUTPUT_FILE_PATH] [--output-bc-ids]",
" [--include-all-checkov-policies] [--quiet] [--compact]",
" [--framework {bitbucket_pipelines,arm,bicep,cloudformation,dockerfile,github_configuration,github_actions,gitlab_configuration,bitbucket_configuration,helm,json,yaml,kubernetes,kustomize,openapi,sca_package,sca_image,secrets,serverless,terraform,terraform_plan,all} [{bitbucket_pipelines,arm,bicep,cloudformation,dockerfile,github_configuration,github_actions,gitlab_configuration,bitbucket_configuration,helm,json,yaml,kubernetes,kustomize,openapi,sca_package,sca_image,secrets,serverless,terraform,terraform_plan,all} ...]]",
" [--skip-framework {bitbucket_pipelines,arm,bicep,cloudformation,dockerfile,github_configuration,github_actions,gitlab_configuration,bitbucket_configuration,helm,json,yaml,kubernetes,kustomize,openapi,sca_package,sca_image,secrets,serverless,terraform,terraform_plan} [{bitbucket_pipelines,arm,bicep,cloudformation,dockerfile,github_configuration,github_actions,gitlab_configuration,bitbucket_configuration,helm,json,yaml,kubernetes,kustomize,openapi,sca_package,sca_image,secrets,serverless,terraform,terraform_plan} ...]]",
" [--framework {bitbucket_pipelines,arm,bicep,cloudformation,dockerfile,github_configuration,github_actions,gitlab_configuration,gitlab_ci,bitbucket_configuration,helm,json,yaml,kubernetes,kustomize,openapi,sca_package,sca_image,secrets,serverless,terraform,terraform_plan,all} [{bitbucket_pipelines,arm,bicep,cloudformation,dockerfile,github_configuration,github_actions,gitlab_configuration,gitlab_ci,bitbucket_configuration,helm,json,yaml,kubernetes,kustomize,openapi,sca_package,sca_image,secrets,serverless,terraform,terraform_plan,all} ...]]",
" [--skip-framework {bitbucket_pipelines,arm,bicep,cloudformation,dockerfile,github_configuration,github_actions,gitlab_configuration,gitlab_ci,bitbucket_configuration,helm,json,yaml,kubernetes,kustomize,openapi,sca_package,sca_image,secrets,serverless,terraform,terraform_plan} [{bitbucket_pipelines,arm,bicep,cloudformation,dockerfile,github_configuration,github_actions,gitlab_configuration,gitlab_ci,bitbucket_configuration,helm,json,yaml,kubernetes,kustomize,openapi,sca_package,sca_image,secrets,serverless,terraform,terraform_plan} ...]]",
" [-c CHECK] [--skip-check SKIP_CHECK]",
" [--run-all-external-checks] [-s] [--soft-fail-on SOFT_FAIL_ON]",
" [--hard-fail-on HARD_FAIL_ON] [--bc-api-key BC_API_KEY]",
Expand Down Expand Up @@ -556,10 +556,10 @@
" flag.",
" --quiet in case of CLI output, display only failed checks",
" --compact in case of CLI output, do not display code blocks",
" --framework {bitbucket_pipelines,arm,bicep,cloudformation,dockerfile,github_configuration,github_actions,gitlab_configuration,bitbucket_configuration,helm,json,yaml,kubernetes,kustomize,openapi,sca_package,sca_image,secrets,serverless,terraform,terraform_plan,all} [{bitbucket_pipelines,arm,bicep,cloudformation,dockerfile,github_configuration,github_actions,gitlab_configuration,bitbucket_configuration,helm,json,yaml,kubernetes,kustomize,openapi,sca_package,sca_image,secrets,serverless,terraform,terraform_plan,all} ...]",
" --framework {bitbucket_pipelines,arm,bicep,cloudformation,dockerfile,github_configuration,github_actions,gitlab_configuration,gitlab_ci,bitbucket_configuration,helm,json,yaml,kubernetes,kustomize,openapi,sca_package,sca_image,secrets,serverless,terraform,terraform_plan,all} [{bitbucket_pipelines,arm,bicep,cloudformation,dockerfile,github_configuration,github_actions,gitlab_configuration,gitlab_ci,bitbucket_configuration,helm,json,yaml,kubernetes,kustomize,openapi,sca_package,sca_image,secrets,serverless,terraform,terraform_plan,all} ...]",
" Filter scan to run only on specific infrastructure",
" code frameworks",
" --skip-framework {bitbucket_pipelines,arm,bicep,cloudformation,dockerfile,github_configuration,github_actions,gitlab_configuration,bitbucket_configuration,helm,json,yaml,kubernetes,kustomize,openapi,sca_package,sca_image,secrets,serverless,terraform,terraform_plan} [{bitbucket_pipelines,arm,bicep,cloudformation,dockerfile,github_configuration,github_actions,gitlab_configuration,bitbucket_configuration,helm,json,yaml,kubernetes,kustomize,openapi,sca_package,sca_image,secrets,serverless,terraform,terraform_plan} ...]",
" --skip-framework {bitbucket_pipelines,arm,bicep,cloudformation,dockerfile,github_configuration,github_actions,gitlab_configuration,gitlab_ci,bitbucket_configuration,helm,json,yaml,kubernetes,kustomize,openapi,sca_package,sca_image,secrets,serverless,terraform,terraform_plan} [{bitbucket_pipelines,arm,bicep,cloudformation,dockerfile,github_configuration,github_actions,gitlab_configuration,gitlab_ci,bitbucket_configuration,helm,json,yaml,kubernetes,kustomize,openapi,sca_package,sca_image,secrets,serverless,terraform,terraform_plan} ...]",
" Filter scan to skip specific infrastructure code",
" frameworks. will be included automatically for some",
" frameworks if system dependencies are missing.",
Expand Down Expand Up @@ -1541,8 +1541,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: ['E226', 'E24', 'W504', 'E126', 'W503',",
" 'E123', 'E704', 'E121'])",
" (Default: ['E126', 'E24', 'E226', 'E121', 'E123',",
" 'W503', 'W504', 'E704'])",
" --extend-ignore errors",
" Comma-separated list of errors and warnings to add to",
" the list of ignored ones. For example, ``--extend-",
Expand Down Expand Up @@ -5925,33 +5925,33 @@
"arguments are given, standard input will be used. If a given path is a",
"directory, all shell scripts found under that directory will be used.",
"",
" -version show version and exit",
" --version show version and exit",
"",
" -l list files whose formatting differs from shfmt's",
" -w write result to file instead of stdout",
" -d error with a diff when the formatting differs",
" -s simplify the code",
" -mn minify the code to reduce its size (implies -s)",
" -l, --list list files whose formatting differs from shfmt's",
" -w, --write write result to file instead of stdout",
" -d, --diff error with a diff when the formatting differs",
" -s, --simplify simplify the code",
" -mn, --minify minify the code to reduce its size (implies -s)",
"",
"Parser options:",
"",
" -ln str language dialect (bash/posix/mksh/bats, default \"auto\")",
" -p shorthand for -ln=posix",
" -filename str provide a name for the standard input file",
" -ln, --language-dialect str bash/posix/mksh/bats, default \"auto\"",
" -p, --posix shorthand for -ln=posix",
" --filename str provide a name for the standard input file",
"",
"Printer options:",
"",
" -i uint indent: 0 for tabs (default), >0 for number of spaces",
" -bn binary ops like && and | may start a line",
" -ci switch cases will be indented",
" -sr redirect operators will be followed by a space",
" -kp keep column alignment paddings",
" -fn function opening braces are placed on a separate line",
" -i, --indent uint 0 for tabs (default), >0 for number of spaces",
" -bn, --binary-next-line binary ops like && and | may start a line",
" -ci, --case-indent switch cases will be indented",
" -sr, --space-redirects redirect operators will be followed by a space",
" -kp, --keep-padding keep column alignment paddings",
" -fn, --func-next-line function opening braces are placed on a separate line",
"",
"Utilities:",
"",
" -f recursively find all shell files and print the paths",
" -tojson print syntax tree to stdout as a typed JSON",
" -f, --find recursively find all shell files and print the paths",
" --tojson print syntax tree to stdout as a typed JSON",
"",
"For more information, see 'man shfmt' and https://github.com/mvdan/sh."
],
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,7 +6,7 @@
"bash-exec": "5.1.16",
"black": "22.3.0",
"cfn-lint": "0.59.1",
"checkov": "2.0.1121",
"checkov": "2.0.1129",
"checkstyle": "10.2",
"chktex": "1.7.6",
"clippy": "0.1.60",
Expand All @@ -24,7 +24,7 @@
"flake8": "4.0.1",
"gherkin-lint": "0.0.0",
"git_diff": "2.30.3",
"golangci-lint": "1.45.2",
"golangci-lint": "1.46.0",
"graphql-schema-linter": "3.0.0",
"hadolint": "2.10.0",
"htmlhint": "1.1.4",
Expand Down
Loading

0 comments on commit 3bf2601

Please sign in to comment.