Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[automation] Auto-update linters version, help and documentation #2268

Merged
merged 2 commits into from
Jan 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions .automation/generated/flavors-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -1227,6 +1227,10 @@
[
"2023-01-15T05:54:49",
2736813
],
[
"2023-01-16T01:07:20",
2737170
]
],
"ci_light": [
Expand Down Expand Up @@ -2457,6 +2461,10 @@
[
"2023-01-15T05:54:49",
43309
],
[
"2023-01-16T01:07:20",
43358
]
],
"cupcake": [
Expand Down Expand Up @@ -2667,6 +2675,10 @@
[
"2023-01-15T05:54:49",
1594
],
[
"2023-01-16T01:07:20",
1594
]
],
"dart": [
Expand Down Expand Up @@ -4807,6 +4819,10 @@
[
"2023-01-15T05:54:49",
103544
],
[
"2023-01-16T01:07:20",
103714
]
],
"dotnet": [
Expand Down Expand Up @@ -6037,6 +6053,10 @@
[
"2023-01-15T05:54:49",
340274
],
[
"2023-01-16T01:07:20",
340305
]
],
"go": [
Expand Down Expand Up @@ -7267,6 +7287,10 @@
[
"2023-01-15T05:54:49",
16062
],
[
"2023-01-16T01:07:20",
16074
]
],
"java": [
Expand Down Expand Up @@ -8497,6 +8521,10 @@
[
"2023-01-15T05:54:49",
105574
],
[
"2023-01-16T01:07:20",
105598
]
],
"javascript": [
Expand Down Expand Up @@ -9727,6 +9755,10 @@
[
"2023-01-15T05:54:49",
186825
],
[
"2023-01-16T01:07:20",
187064
]
],
"php": [
Expand Down Expand Up @@ -10957,6 +10989,10 @@
[
"2023-01-15T05:54:49",
38085
],
[
"2023-01-16T01:07:20",
38341
]
],
"python": [
Expand Down Expand Up @@ -12187,6 +12223,10 @@
[
"2023-01-15T05:54:49",
146579
],
[
"2023-01-16T01:07:20",
146752
]
],
"ruby": [
Expand Down Expand Up @@ -13413,6 +13453,10 @@
[
"2023-01-15T05:54:49",
2815
],
[
"2023-01-16T01:07:20",
2815
]
],
"rust": [
Expand Down Expand Up @@ -14639,6 +14683,10 @@
[
"2023-01-15T05:54:49",
4420
],
[
"2023-01-16T01:07:20",
4420
]
],
"salesforce": [
Expand Down Expand Up @@ -15869,6 +15917,10 @@
[
"2023-01-15T05:54:49",
16000
],
[
"2023-01-16T01:07:20",
16000
]
],
"scala": [
Expand Down Expand Up @@ -17097,6 +17149,10 @@
[
"2023-01-15T05:54:49",
2065
],
[
"2023-01-16T01:07:20",
2065
]
],
"swift": [
Expand Down Expand Up @@ -18323,6 +18379,10 @@
[
"2023-01-15T05:54:49",
3094
],
[
"2023-01-16T01:07:20",
3094
]
],
"terraform": [
Expand Down Expand Up @@ -19553,6 +19613,10 @@
[
"2023-01-15T05:54:49",
160790
],
[
"2023-01-16T01:07:20",
160953
]
]
}
41 changes: 23 additions & 18 deletions .automation/generated/linter-helps.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,17 @@
" Show version and how this binary was installed"
],
"ansible-lint": [
"usage: ansible-lint [-h] [-L | -T]",
"WARNING: PATH altered to expand ~ in it. Read https://stackoverflow.com/a/44704799/99834 and correct your system configuration.",
"usage: ansible-lint [-h] [-P | -L | -T]",
" [-f {rich,plain,md,json,codeclimate,quiet,pep8,sarif,docs}]",
" [-q]",
" [-P [{min,basic,moderate,safety,shared,production} ...]]",
" [--profile {min,basic,moderate,safety,shared,production}]",
" [-p] [--progressive] [--project-dir PROJECT_DIR]",
" [-r RULESDIR] [-R] [--write [WRITE_LIST]] [--show-relpath]",
" [-t TAGS] [-v] [-x SKIP_LIST] [-w WARN_LIST]",
" [--enable-list ENABLE_LIST] [--nocolor] [--force-color]",
" [--exclude EXCLUDE_PATHS] [-c CONFIG_FILE] [--offline]",
" [--version]",
" [-r RULESDIR] [-R] [-s] [--write [WRITE_LIST]]",
" [--show-relpath] [-t TAGS] [-v] [-x SKIP_LIST]",
" [-w WARN_LIST] [--enable-list ENABLE_LIST] [--nocolor]",
" [--force-color] [--exclude EXCLUDE_PATHS] [-c CONFIG_FILE]",
" [--offline] [--version]",
" [lintables ...]",
"",
"positional arguments:",
Expand All @@ -74,6 +75,7 @@
"",
"options:",
" -h, --help show this help message and exit",
" -P, --list-profiles List all profiles, no formatting options available.",
" -L, --list-rules List all the rules. For listing rules only the",
" following formats for argument -f are supported:",
" {plain, rich, md}",
Expand All @@ -84,13 +86,12 @@
" stdout formatting, json being an alias for",
" codeclimate. (default: rich)",
" -q quieter, reduce verbosity, can be specified twice.",
" -P [{min,basic,moderate,safety,shared,production} ...], --profile [{min,basic,moderate,safety,shared,production} ...]",
" Specify which rules profile to be used, or displays",
" available profiles when no argument is given.",
" --profile {min,basic,moderate,safety,shared,production}",
" Specify which rules profile to be used.",
" -p, --parseable parseable output, same as '-f pep8'",
" --progressive Return success if it detects a reduction in number of",
" violations compared with previous git commit. This",
" feature works only in git repositories.",
" --progressive Return success if number of violations compared",
" withprevious git commit has not increased. This",
" feature worksonly in git repositories.",
" --project-dir PROJECT_DIR",
" Location of project/repository, autodetected based on",
" location of configuration file.",
Expand All @@ -99,6 +100,8 @@
" embedded rules from /venvs/ansible-",
" lint/lib/python3.10/site-packages/ansiblelint/rules",
" -R Keep default rules when using -r",
" -s, --strict Return non-zero exit code on warnings as well as",
" errors",
" --write [WRITE_LIST] Allow ansible-lint to reformat YAML files and run rule",
" transforms (Reformatting YAML files standardizes",
" spacing, quotes, etc. A rule transform can fix or",
Expand All @@ -124,9 +127,11 @@
" values",
" -w WARN_LIST, --warn-list WARN_LIST",
" only warn about these rules, unless overridden in",
" config file. Current version default value is:",
" experimental, jinja[spacing], name[casing],",
" name[play], role-name",
" config file. Current version default value is: avoid-",
" implicit, experimental, fqcn[action], fqcn[redirect],",
" jinja[spacing], name[casing], name[play],",
" name[prefix], role-name, warning[empty-playbook],",
" role-name[path]",
" --enable-list ENABLE_LIST",
" activate optional rules by their tag name",
" --nocolor disable colored output, same as NO_COLOR=1",
Expand Down Expand Up @@ -483,8 +488,8 @@
" input).",
" --python-cell-magics TEXT When processing Jupyter Notebooks, add the",
" given magic to the list of known python-",
" magics (pypy, python, timeit, prun, python3,",
" capture, time). Useful for formatting cells",
" magics (pypy, timeit, prun, python, capture,",
" time, python3). Useful for formatting cells",
" with custom python magics.",
" -x, --skip-source-first-line Skip the first line of the source code.",
" -S, --skip-string-normalization",
Expand Down
4 changes: 2 additions & 2 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"actionlint": "1.6.22",
"ansible-lint": "6.7.0",
"ansible-lint": "6.10.2",
"arm-ttk": "0.0.0",
"bandit": "1.7.4",
"bash-exec": "5.1.16",
Expand All @@ -15,7 +15,7 @@
"clj-kondo": "2023.01.12",
"coffeelint": "5.2.11",
"cpplint": "1.6.1",
"csharpier": "0.21.0",
"csharpier": "0.22.0",
"cspell": "6.18.1",
"dartanalyzer": "0.0.0",
"devskim": "0.7.103",
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [prettier](https://prettier.io/) from 2.8.2 to **2.8.3** on 2023-01-14
- [clj-kondo](https://github.com/borkdude/clj-kondo) from 2022.12.10 to **2023.01.12** on 2023-01-14
- [eslint](https://eslint.org) from 8.31.0 to **8.32.0** on 2023-01-15
- [ansible-lint](https://ansible-lint.readthedocs.io/) from 6.7.0 to **6.10.2** on 2023-01-16
- [csharpier](https://csharpier.com/) from 0.21.0 to **0.22.0** on 2023-01-16
<!-- linter-versions-end -->

## [v6.18.0] - 2023-01-07
Expand Down
Loading