From 778e9008620c67cc6509cf8662f89dce8360dc0b Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Sun, 13 Mar 2022 10:36:28 +0100 Subject: [PATCH] [automation] Auto-update linters version, help and documentation (#1327) --- .automation/generated/flavors-stats.json | 64 ++++++++++++++++++++++ .automation/generated/linter-helps.json | 8 +-- .automation/generated/linter-versions.json | 2 +- CHANGELOG.md | 1 + docs/all_linters.md | 2 +- docs/descriptors/python_black.md | 4 +- docs/descriptors/python_flake8.md | 4 +- docs/descriptors/spell_cspell.md | 2 +- 8 files changed, 76 insertions(+), 11 deletions(-) diff --git a/.automation/generated/flavors-stats.json b/.automation/generated/flavors-stats.json index 1c91e95f402..b6278e35651 100644 --- a/.automation/generated/flavors-stats.json +++ b/.automation/generated/flavors-stats.json @@ -635,6 +635,10 @@ [ "2022-03-12T01:42:04", 2468521 + ], + [ + "2022-03-13T01:42:30", + 2468603 ] ], "ci_light": [ @@ -1273,6 +1277,10 @@ [ "2022-03-12T01:42:04", 8322 + ], + [ + "2022-03-13T01:42:30", + 8333 ] ], "dart": [ @@ -1911,6 +1919,10 @@ [ "2022-03-12T01:42:04", 2417 + ], + [ + "2022-03-13T01:42:30", + 2418 ] ], "documentation": [ @@ -2549,6 +2561,10 @@ [ "2022-03-12T01:42:04", 45034 + ], + [ + "2022-03-13T01:42:30", + 45062 ] ], "dotnet": [ @@ -3187,6 +3203,10 @@ [ "2022-03-12T01:42:04", 290485 + ], + [ + "2022-03-13T01:42:30", + 290490 ] ], "go": [ @@ -3825,6 +3845,10 @@ [ "2022-03-12T01:42:04", 8740 + ], + [ + "2022-03-13T01:42:30", + 8742 ] ], "java": [ @@ -4463,6 +4487,10 @@ [ "2022-03-12T01:42:04", 63831 + ], + [ + "2022-03-13T01:42:30", + 63898 ] ], "javascript": [ @@ -5101,6 +5129,10 @@ [ "2022-03-12T01:42:04", 96845 + ], + [ + "2022-03-13T01:42:30", + 96872 ] ], "php": [ @@ -5739,6 +5771,10 @@ [ "2022-03-12T01:42:04", 4534 + ], + [ + "2022-03-13T01:42:30", + 4536 ] ], "python": [ @@ -6377,6 +6413,10 @@ [ "2022-03-12T01:42:04", 64668 + ], + [ + "2022-03-13T01:42:30", + 64710 ] ], "ruby": [ @@ -7011,6 +7051,10 @@ [ "2022-03-12T01:42:04", 1929 + ], + [ + "2022-03-13T01:42:30", + 1929 ] ], "rust": [ @@ -7645,6 +7689,10 @@ [ "2022-03-12T01:42:04", 2529 + ], + [ + "2022-03-13T01:42:30", + 2554 ] ], "salesforce": [ @@ -8283,6 +8331,10 @@ [ "2022-03-12T01:42:04", 11321 + ], + [ + "2022-03-13T01:42:30", + 11326 ] ], "scala": [ @@ -8917,6 +8969,10 @@ [ "2022-03-12T01:42:04", 1460 + ], + [ + "2022-03-13T01:42:30", + 1460 ] ], "swift": [ @@ -9551,6 +9607,10 @@ [ "2022-03-12T01:42:04", 1501 + ], + [ + "2022-03-13T01:42:30", + 1501 ] ], "terraform": [ @@ -10189,6 +10249,10 @@ [ "2022-03-12T01:42:04", 44539 + ], + [ + "2022-03-13T01:42:30", + 44610 ] ] } \ No newline at end of file diff --git a/.automation/generated/linter-helps.json b/.automation/generated/linter-helps.json index 0c5bd8a9ece..2cdce553d52 100644 --- a/.automation/generated/linter-helps.json +++ b/.automation/generated/linter-helps.json @@ -339,8 +339,8 @@ " input).", " --python-cell-magics TEXT When processing Jupyter Notebooks, add the", " given magic to the list of known python-", - " magics (python, pypy, prun, time, timeit,", - " python3, capture). Useful for formatting", + " magics (time, python, pypy, prun, python3,", + " timeit, capture). Useful for formatting", " cells with custom python magics.", " -S, --skip-string-normalization", " Don't normalize string quotes or prefixes.", @@ -1510,8 +1510,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: ['E121', 'E704', 'E123', 'E126', 'W503',", - " 'E24', 'E226', 'W504'])", + " (Default: ['E24', 'E704', 'E126', 'E121', 'E226',", + " 'W503', 'W504', 'E123'])", " --extend-ignore errors", " Comma-separated list of errors and warnings to add to", " the list of ignored ones. For example, ``--extend-", diff --git a/.automation/generated/linter-versions.json b/.automation/generated/linter-versions.json index 419d9c80d99..7bf0458675f 100644 --- a/.automation/generated/linter-versions.json +++ b/.automation/generated/linter-versions.json @@ -13,7 +13,7 @@ "clj-kondo": "2022.02.09", "coffeelint": "5.2.4", "cpplint": "1.6.0", - "cspell": "5.18.5", + "cspell": "5.19.0", "dartanalyzer": "0.0.0", "dockerfilelint": "1.8.0", "dotenv-linter": "3.2.0", diff --git a/CHANGELOG.md b/CHANGELOG.md index 2afbd1d863f..e79ec1d913a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -77,6 +77,7 @@ Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-l - [mypy](https://mypy.readthedocs.io/en/stable/) from 0.931 to **0.940** on 2022-03-12 - [checkov](https://www.checkov.io/) from 2.0.935 to **2.0.938** on 2022-03-12 - [xmllint](http://xmlsoft.org/xmllint.html) from 20912 to **20913** on 2022-03-12 + - [cspell](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell) from 5.18.5 to **5.19.0** on 2022-03-13 - New linter `kubeconform` to validate Kubernetes manifests with updated schemas diff --git a/docs/all_linters.md b/docs/all_linters.md index 3237febaf31..4aca07ea6ef 100644 --- a/docs/all_linters.md +++ b/docs/all_linters.md @@ -19,7 +19,7 @@ | [**clj-kondo**](https://github.com/borkdude/clj-kondo){target=_blank} | 2022.02.09 | | [CLOJURE](descriptors/clojure_clj_kondo.md) | :heart: | [MegaLinter reference](https://github.com/borkdude/clj-kondo/blob/master/doc/ci-integration.md#github){target=_blank} | | [**coffeelint**](https://github.com/clutchski/coffeelint){target=_blank} | 5.2.4 | [Other](licenses/coffeelint.md) | [COFFEE](descriptors/coffee_coffeelint.md) | :white_circle: | [Repository](https://github.com/clutchski/coffeelint){target=_blank} | | [**cpplint**](https://github.com/cpplint/cpplint){target=_blank} | 1.6.0 | | [C](descriptors/c_cpplint.md)
[CPP](descriptors/cpp_cpplint.md) | :white_circle: | [Web Site](https://github.com/cpplint/cpplint){target=_blank} | -| [**cspell**](https://github.com/streetsidesoftware/cspell){target=_blank} | 5.18.5 | [MIT](licenses/cspell.md) | [SPELL](descriptors/spell_cspell.md) | :heart: | [MegaLinter reference](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell#mega-linter){target=_blank} | +| [**cspell**](https://github.com/streetsidesoftware/cspell){target=_blank} | 5.19.0 | [MIT](licenses/cspell.md) | [SPELL](descriptors/spell_cspell.md) | :heart: | [MegaLinter reference](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell#mega-linter){target=_blank} | | [**dartanalyzer**](https://github.com/dart-lang/sdk){target=_blank} | N/A | [BSD-3-Clause](licenses/dartanalyzer.md) | [DART](descriptors/dart_dartanalyzer.md) | :no_entry_sign: | [Repository](https://github.com/dart-lang/sdk){target=_blank} | | [**dockerfilelint**](https://github.com/replicatedhq/dockerfilelint){target=_blank} | 1.8.0 | | [DOCKERFILE](descriptors/dockerfile_dockerfilelint.md) | :white_circle: | [Web Site](https://github.com/replicatedhq/dockerfilelint){target=_blank} | | [**dotenv-linter**](https://github.com/dotenv-linter/dotenv-linter){target=_blank} | 3.2.0 | [MIT](licenses/dotenv-linter.md) | [ENV](descriptors/env_dotenv_linter.md) | :heart: | [MegaLinter reference](https://dotenv-linter.github.io/#/integrations/mega_linter){target=_blank} | diff --git a/docs/descriptors/python_black.md b/docs/descriptors/python_black.md index 7b4018a6217..55389536642 100644 --- a/docs/descriptors/python_black.md +++ b/docs/descriptors/python_black.md @@ -112,8 +112,8 @@ Options: input). --python-cell-magics TEXT When processing Jupyter Notebooks, add the given magic to the list of known python- - magics (python, pypy, prun, time, timeit, - python3, capture). Useful for formatting + magics (time, python, pypy, prun, python3, + timeit, capture). Useful for formatting cells with custom python magics. -S, --skip-string-normalization Don't normalize string quotes or prefixes. diff --git a/docs/descriptors/python_flake8.md b/docs/descriptors/python_flake8.md index 1ce7123c1db..600c36e5205 100644 --- a/docs/descriptors/python_flake8.md +++ b/docs/descriptors/python_flake8.md @@ -124,8 +124,8 @@ optional arguments: 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: ['E121', 'E704', 'E123', 'E126', 'W503', - 'E24', 'E226', 'W504']) + (Default: ['E24', 'E704', 'E126', 'E121', 'E226', + 'W503', 'W504', 'E123']) --extend-ignore errors Comma-separated list of errors and warnings to add to the list of ignored ones. For example, ``--extend- diff --git a/docs/descriptors/spell_cspell.md b/docs/descriptors/spell_cspell.md index 18cac29b46b..ccac7e82b45 100644 --- a/docs/descriptors/spell_cspell.md +++ b/docs/descriptors/spell_cspell.md @@ -7,7 +7,7 @@ Copy it at the root of your repository, read it, remove real spelling errors (af ## cspell documentation -- Version in MegaLinter: **5.18.5** +- Version in MegaLinter: **5.19.0** - Visit [Official Web Site](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell#readme){target=_blank} - See [How to configure cspell rules](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell#customization){target=_blank} - See [How to disable cspell rules in files](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell#enable--disable-checking-sections-of-code){target=_blank}