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 #1366

Merged
merged 6 commits into from
Mar 30, 2022
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 @@ -687,6 +687,10 @@
[
"2022-03-27T20:21:20",
2473802
],
[
"2022-03-30T01:54:07",
2474898
]
],
"ci_light": [
Expand Down Expand Up @@ -1377,6 +1381,10 @@
[
"2022-03-27T20:21:20",
8789
],
[
"2022-03-30T01:54:07",
8859
]
],
"dart": [
Expand Down Expand Up @@ -2067,6 +2075,10 @@
[
"2022-03-27T20:21:20",
2499
],
[
"2022-03-30T01:54:07",
2516
]
],
"documentation": [
Expand Down Expand Up @@ -2757,6 +2769,10 @@
[
"2022-03-27T20:21:20",
46359
],
[
"2022-03-30T01:54:07",
46690
]
],
"dotnet": [
Expand Down Expand Up @@ -3447,6 +3463,10 @@
[
"2022-03-27T20:21:20",
292016
],
[
"2022-03-30T01:54:07",
292318
]
],
"go": [
Expand Down Expand Up @@ -4137,6 +4157,10 @@
[
"2022-03-27T20:21:20",
9129
],
[
"2022-03-30T01:54:07",
9267
]
],
"java": [
Expand Down Expand Up @@ -4827,6 +4851,10 @@
[
"2022-03-27T20:21:20",
66839
],
[
"2022-03-30T01:54:07",
67716
]
],
"javascript": [
Expand Down Expand Up @@ -5517,6 +5545,10 @@
[
"2022-03-27T20:21:20",
99869
],
[
"2022-03-30T01:54:07",
100591
]
],
"php": [
Expand Down Expand Up @@ -6207,6 +6239,10 @@
[
"2022-03-27T20:21:20",
4749
],
[
"2022-03-30T01:54:07",
4933
]
],
"python": [
Expand Down Expand Up @@ -6897,6 +6933,10 @@
[
"2022-03-27T20:21:20",
66473
],
[
"2022-03-30T01:54:07",
66896
]
],
"ruby": [
Expand Down Expand Up @@ -7583,6 +7623,10 @@
[
"2022-03-27T20:21:20",
2010
],
[
"2022-03-30T01:54:07",
2018
]
],
"rust": [
Expand Down Expand Up @@ -8269,6 +8313,10 @@
[
"2022-03-27T20:21:20",
2916
],
[
"2022-03-30T01:54:07",
2954
]
],
"salesforce": [
Expand Down Expand Up @@ -8959,6 +9007,10 @@
[
"2022-03-27T20:21:20",
11502
],
[
"2022-03-30T01:54:07",
11548
]
],
"scala": [
Expand Down Expand Up @@ -9645,6 +9697,10 @@
[
"2022-03-27T20:21:20",
1463
],
[
"2022-03-30T01:54:07",
1463
]
],
"swift": [
Expand Down Expand Up @@ -10331,6 +10387,10 @@
[
"2022-03-27T20:21:20",
1501
],
[
"2022-03-30T01:54:07",
1501
]
],
"terraform": [
Expand Down Expand Up @@ -11021,6 +11081,10 @@
[
"2022-03-27T20:21:20",
47538
],
[
"2022-03-30T01:54:07",
48267
]
]
}
16 changes: 9 additions & 7 deletions .automation/generated/linter-helps.json
Original file line number Diff line number Diff line change
Expand Up @@ -343,16 +343,16 @@
" input).",
" --python-cell-magics TEXT When processing Jupyter Notebooks, add the",
" given magic to the list of known python-",
" magics (python, prun, pypy, timeit, python3,",
" capture, time). Useful for formatting cells",
" magics (python, timeit, pypy, time, capture,",
" 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",
" Don't use trailing commas as a reason to",
" split lines.",
" --preview Enable potentially disruptive style changes",
" that will be added to Black's main",
" that may be added to Black's main",
" functionality in the next major release.",
" --check Don't write the files back, just return the",
" status. Return code 0 means nothing would",
Expand All @@ -368,7 +368,8 @@
" --required-version TEXT Require a specific version of Black to be",
" running (useful for unifying results across",
" many environments e.g. with a pyproject.toml",
" file).",
" file). It can be either a major version",
" number or an exact version.",
" --include TEXT A regular expression that matches files and",
" directories that should be included on",
" recursive searches. An empty value means all",
Expand All @@ -385,7 +386,8 @@
" Exclusions are calculated first, inclusions",
" later. [default: /(\\.direnv|\\.eggs|\\.git|\\.h",
" g|\\.mypy_cache|\\.nox|\\.tox|\\.venv|venv|\\.svn",
" |_build|buck-out|build|dist)/]",
" |_build|buck-",
" out|build|dist|__pypackages__)/]",
" --extend-exclude TEXT Like --exclude, but adds additional files",
" and directories on top of the excluded ones.",
" (Useful if you simply want to add to the",
Expand Down Expand Up @@ -1514,8 +1516,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: ['W504', 'E123', 'E704', 'E121', 'E24',",
" 'E226', 'W503', 'E126'])",
" (Default: ['E24', 'E704', 'E123', 'W504', 'E121',",
" 'E126', 'E226', 'W503'])",
" --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: 6 additions & 6 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"arm-ttk": "0.0.0",
"bandit": "1.7.4",
"bash-exec": "5.1.16",
"black": "22.1.0",
"black": "22.3.0",
"cfn-lint": "0.58.4",
"checkov": "2.0.999",
"checkov": "2.0.1008",
"checkstyle": "10.1",
"chktex": "1.7.6",
"clippy": "0.1.59",
Expand All @@ -27,7 +27,7 @@
"golangci-lint": "1.45.2",
"graphql-schema-linter": "2.0.1",
"hadolint": "2.9.1",
"htmlhint": "1.1.2",
"htmlhint": "1.1.3",
"isort": "5.10.1",
"jscpd": "3.3.26",
"jsonlint": "1.6.3",
Expand All @@ -47,13 +47,13 @@
"php": "7.4.26",
"phpcs": "3.6.2",
"phplint": "3.0",
"phpstan": "1.5.0",
"phpstan": "1.5.2",
"powershell": "7.2.2",
"prettier": "2.6.1",
"protolint": "0.37.1",
"psalm": "Psalm.4.x-dev@",
"puppet-lint": "2.5.2",
"pylint": "2.13.2",
"pylint": "2.13.3",
"raku": "2020.10",
"remark-lint": "14.0.2",
"revive": "0.0.0",
Expand All @@ -71,7 +71,7 @@
"shellcheck": "0.8.0",
"shfmt": "3.5.0",
"snakefmt": "0.6.0",
"snakemake": "7.3.2",
"snakemake": "7.3.3",
"spectral": "5.6.0",
"sql-lint": "0.0.19",
"sqlfluff": "0.11.2",
Expand Down
2 changes: 1 addition & 1 deletion .automation/test/python_mypy/python_good_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,4 @@ def copy_labels(source_repo, target_repo, dry):
if __name__ == "__main__":
# Pylint doesn't know that @click.command takes care of injecting the
# function parameters. Disabling Pylint error.
copy_labels() # pylint: disable=no-value-for-parameter
copy_labels() # type:ignore # pylint: disable=no-value-for-parameter
2 changes: 1 addition & 1 deletion .automation/test/python_mypy/python_good_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,4 @@ def copy_labels(source_repo, target_repo, dry):
if __name__ == "__main__":
# Pylint doesn't know that @click.command takes care of injecting the
# function parameters. Disabling Pylint error.
copy_labels() # pylint: disable=no-value-for-parameter
copy_labels() # type:ignore # pylint: disable=no-value-for-parameter
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-l
- [checkstyle](https://checkstyle.sourceforge.io) from 10.0 to **10.1** on 2022-03-27
- [pylint](https://www.pylint.org) from 2.13.1 to **2.13.2** on 2022-03-27
- [checkov](https://www.checkov.io/) from 2.0.995 to **2.0.999** on 2022-03-27
- [htmlhint](https://htmlhint.com/) from 1.1.2 to **1.1.3** on 2022-03-30
- [phpstan](https://phpstan.org/) from 1.5.0 to **1.5.2** on 2022-03-30
- [black](https://black.readthedocs.io/en/stable/) from 22.1.0 to **22.3.0** on 2022-03-30
- [pylint](https://www.pylint.org) from 2.13.2 to **2.13.3** on 2022-03-30
- [snakemake](https://snakemake.readthedocs.io/en/stable/) from 7.3.2 to **7.3.3** on 2022-03-30
- [checkov](https://www.checkov.io/) from 2.0.999 to **2.0.1008** on 2022-03-30
<!-- linter-versions-end -->

## [v5.10.0] - 2022-03-20
Expand Down
Loading