Skip to content

Commit

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

* Fix sqlfluff bug
  • Loading branch information
nvuillam committed Jan 25, 2022
1 parent 4b9490a commit 9b36d98
Show file tree
Hide file tree
Showing 25 changed files with 152 additions and 83 deletions.
128 changes: 96 additions & 32 deletions .automation/generated/flavors-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,12 @@
2425607
],
[
"2022-01-24T11:00:41",
2426155
"2022-01-24T20:09:52",
2426620
],
[
"2022-01-25T07:19:01",
2426950
]
],
"ci_light": [
Expand Down Expand Up @@ -1015,8 +1019,12 @@
6637
],
[
"2022-01-24T11:00:41",
6692
"2022-01-24T20:09:52",
6703
],
[
"2022-01-25T07:19:01",
6703
]
],
"dart": [
Expand Down Expand Up @@ -1525,8 +1533,12 @@
1962
],
[
"2022-01-24T11:00:41",
1977
"2022-01-24T20:09:52",
1980
],
[
"2022-01-25T07:19:01",
1984
]
],
"documentation": [
Expand Down Expand Up @@ -2035,8 +2047,12 @@
31874
],
[
"2022-01-24T11:00:41",
32175
"2022-01-24T20:09:52",
32914
],
[
"2022-01-25T07:19:01",
32996
]
],
"dotnet": [
Expand Down Expand Up @@ -2545,8 +2561,12 @@
270760
],
[
"2022-01-24T11:00:41",
271025
"2022-01-24T20:09:52",
271262
],
[
"2022-01-25T07:19:01",
271425
]
],
"go": [
Expand Down Expand Up @@ -3055,8 +3075,12 @@
7246
],
[
"2022-01-24T11:00:41",
7290
"2022-01-24T20:09:52",
7307
],
[
"2022-01-25T07:19:01",
7322
]
],
"java": [
Expand Down Expand Up @@ -3565,8 +3589,12 @@
52669
],
[
"2022-01-24T11:00:41",
52817
"2022-01-24T20:09:52",
52939
],
[
"2022-01-25T07:19:01",
53057
]
],
"javascript": [
Expand Down Expand Up @@ -4075,8 +4103,12 @@
77114
],
[
"2022-01-24T11:00:41",
77468
"2022-01-24T20:09:52",
77689
],
[
"2022-01-25T07:19:01",
77843
]
],
"php": [
Expand Down Expand Up @@ -4585,8 +4617,12 @@
3753
],
[
"2022-01-24T11:00:41",
3768
"2022-01-24T20:09:52",
3769
],
[
"2022-01-25T07:19:01",
3769
]
],
"python": [
Expand Down Expand Up @@ -5095,8 +5131,12 @@
48456
],
[
"2022-01-24T11:00:41",
48724
"2022-01-24T20:09:52",
49015
],
[
"2022-01-25T07:19:01",
49123
]
],
"ruby": [
Expand Down Expand Up @@ -5601,8 +5641,12 @@
1769
],
[
"2022-01-24T11:00:41",
1774
"2022-01-24T20:09:52",
1775
],
[
"2022-01-25T07:19:01",
1775
]
],
"rust": [
Expand Down Expand Up @@ -6107,8 +6151,12 @@
1501
],
[
"2022-01-24T11:00:41",
1506
"2022-01-24T20:09:52",
1509
],
[
"2022-01-25T07:19:01",
1509
]
],
"salesforce": [
Expand Down Expand Up @@ -6617,8 +6665,12 @@
9925
],
[
"2022-01-24T11:00:41",
9963
"2022-01-24T20:09:52",
9978
],
[
"2022-01-25T07:19:01",
9990
]
],
"scala": [
Expand Down Expand Up @@ -7123,8 +7175,12 @@
1348
],
[
"2022-01-24T11:00:41",
1353
"2022-01-24T20:09:52",
1354
],
[
"2022-01-25T07:19:01",
1354
]
],
"swift": [
Expand Down Expand Up @@ -7629,8 +7685,12 @@
1387
],
[
"2022-01-24T11:00:41",
1401
"2022-01-24T20:09:52",
1402
],
[
"2022-01-25T07:19:01",
1402
]
],
"terraform": [
Expand Down Expand Up @@ -8139,8 +8199,12 @@
33452
],
[
"2022-01-24T11:00:41",
33561
"2022-01-24T20:09:52",
33695
],
[
"2022-01-25T07:19:01",
33803
]
]
}
29 changes: 15 additions & 14 deletions .automation/generated/linter-helps.json
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,8 @@
" [--external-checks-git EXTERNAL_CHECKS_GIT] [-l]",
" [-o {cli,cyclonedx,json,junitxml,github_failed_only,sarif}]",
" [--output-bc-ids] [--no-guide] [--quiet] [--compact]",
" [--framework {cloudformation,terraform,kubernetes,serverless,arm,terraform_plan,helm,dockerfile,secrets,json,github_configuration,gitlab_configuration,all} [{cloudformation,terraform,kubernetes,serverless,arm,terraform_plan,helm,dockerfile,secrets,json,github_configuration,gitlab_configuration,all} ...]]",
" [--skip-framework {cloudformation,terraform,kubernetes,serverless,arm,terraform_plan,helm,dockerfile,secrets,json,github_configuration,gitlab_configuration} [{cloudformation,terraform,kubernetes,serverless,arm,terraform_plan,helm,dockerfile,secrets,json,github_configuration,gitlab_configuration} ...]]",
" [--framework {arm,cloudformation,dockerfile,github_configuration,gitlab_configuration,helm,json,kubernetes,kustomize,sca_package,secrets,serverless,terraform,terraform_plan,all} [{arm,cloudformation,dockerfile,github_configuration,gitlab_configuration,helm,json,kubernetes,kustomize,sca_package,secrets,serverless,terraform,terraform_plan,all} ...]]",
" [--skip-framework {arm,cloudformation,dockerfile,github_configuration,gitlab_configuration,helm,json,kubernetes,kustomize,sca_package,secrets,serverless,terraform,terraform_plan} [{arm,cloudformation,dockerfile,github_configuration,gitlab_configuration,helm,json,kubernetes,kustomize,sca_package,secrets,serverless,terraform,terraform_plan} ...]]",
" [-c CHECK] [--skip-check SKIP_CHECK]",
" [--run-all-external-checks] [--bc-api-key BC_API_KEY]",
" [--docker-image DOCKER_IMAGE]",
Expand Down Expand Up @@ -509,10 +509,10 @@
" in the CLI.",
" --quiet in case of CLI output, display only failed checks",
" --compact in case of CLI output, do not display code blocks",
" --framework {cloudformation,terraform,kubernetes,serverless,arm,terraform_plan,helm,dockerfile,secrets,json,github_configuration,gitlab_configuration,all} [{cloudformation,terraform,kubernetes,serverless,arm,terraform_plan,helm,dockerfile,secrets,json,github_configuration,gitlab_configuration,all} ...]",
" --framework {arm,cloudformation,dockerfile,github_configuration,gitlab_configuration,helm,json,kubernetes,kustomize,sca_package,secrets,serverless,terraform,terraform_plan,all} [{arm,cloudformation,dockerfile,github_configuration,gitlab_configuration,helm,json,kubernetes,kustomize,sca_package,secrets,serverless,terraform,terraform_plan,all} ...]",
" filter scan to run only on specific infrastructure",
" code frameworks",
" --skip-framework {cloudformation,terraform,kubernetes,serverless,arm,terraform_plan,helm,dockerfile,secrets,json,github_configuration,gitlab_configuration} [{cloudformation,terraform,kubernetes,serverless,arm,terraform_plan,helm,dockerfile,secrets,json,github_configuration,gitlab_configuration} ...]",
" --skip-framework {arm,cloudformation,dockerfile,github_configuration,gitlab_configuration,helm,json,kubernetes,kustomize,sca_package,secrets,serverless,terraform,terraform_plan} [{arm,cloudformation,dockerfile,github_configuration,gitlab_configuration,helm,json,kubernetes,kustomize,sca_package,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 @@ -587,7 +587,7 @@
" the same noise. Works only with `--directory` flag",
" --baseline BASELINE Use a .checkov.baseline file to compare current",
" results with a known baseline. Report will include",
" only failed checks that are newwith respect to the",
" only failed checks that are new with respect to the",
" provided baseline",
" -s, --soft-fail Runs checks but suppresses error code",
" --soft-fail-on SOFT_FAIL_ON",
Expand Down Expand Up @@ -1120,19 +1120,20 @@
" dockerfilelint < Dockerfile Lint the contents of Dockerfile via stdin"
],
"dotenv-linter": [
"dotenv-linter 3.1.1",
"dotenv-linter 3.2.0",
"Mikhail Grachev <work@mgrachev.com>",
"Lightning-fast linter for .env files",
"",
"USAGE:",
" dotenv-linter [FLAGS] [OPTIONS] <input>... [SUBCOMMAND]",
"",
"FLAGS:",
" -h, --help Prints help information",
" --no-color Turns off the colored output",
" -q, --quiet Doesn't display additional information",
" -r, --recursive Recursively searches and checks .env files",
" -v, --version Prints version information",
" -h, --help Prints help information",
" --no-color Turns off the colored output",
" --not-check-updates Doesn't check for updates",
" -q, --quiet Doesn't display additional information",
" -r, --recursive Recursively searches and checks .env files",
" -v, --version Prints version information",
"",
"OPTIONS:",
" -e, --exclude <FILE_NAME>... Excludes files from check",
Expand Down Expand Up @@ -1381,8 +1382,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', 'E126', 'E123', 'E704', 'E24',",
" 'E121', 'W504', 'W503'])",
" (Default: ['E226', 'E126', 'E24', 'W503', 'E704',",
" 'W504', 'E121', 'E123'])",
" --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 @@ -6669,7 +6670,7 @@
" -h, --help display help for command"
],
"sqlfluff": [
"Usage: sqlfluff [OPTIONS] COMMAND [ARGS]...",
"Usage: python -m sqlfluff [OPTIONS] COMMAND [ARGS]...",
"",
" Sqlfluff is a modular sql linter for humans.",
"",
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.0",
"black": "21.12",
"cfn-lint": "0.57.0",
"checkov": "2.0.749",
"checkov": "2.0.754",
"checkstyle": "9.2.1",
"chktex": "1.7.6",
"clippy": "0.1.58",
Expand All @@ -16,7 +16,7 @@
"cspell": "5.16.0",
"dartanalyzer": "0.0.0",
"dockerfilelint": "1.8.0",
"dotenv-linter": "3.1.1",
"dotenv-linter": "3.2.0",
"dotnet-format": "000",
"editorconfig-checker": "2.3.5",
"eslint": "8.7.0",
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-l
- [checkov](https://www.checkov.io/) from 2.0.744 to **2.0.745** on 2022-01-23
- [checkov](https://www.checkov.io/) from 2.0.745 to **2.0.746** on 2022-01-24
- [checkov](https://www.checkov.io/) from 2.0.746 to **2.0.749** on 2022-01-24
- [dotenv-linter](https://dotenv-linter.github.io/) from 3.1.1 to **3.2.0** on 2022-01-24
- [checkov](https://www.checkov.io/) from 2.0.749 to **2.0.754** on 2022-01-24
<!-- linter-versions-end -->

## [v5.6.0] - 2022-01-22
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ RUN pip3 install --no-cache-dir --upgrade \
'rstfmt' \
'snakemake' \
'snakefmt' \
'sqlfluff' \
'sqlfluff==0.9.1' \
'yamllint'
#PIP__END

Expand Down
Loading

0 comments on commit 9b36d98

Please sign in to comment.