From 8b1ed865c11ca341038b337c9770f015d7a2c4e5 Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Mon, 16 Jan 2023 06:32:22 +0100 Subject: [PATCH] [automation] Auto-update linters version, help and documentation (#2268) * [automation] Auto-update linters version, help and documentation * [MegaLinter] Apply linters fixes Co-authored-by: nvuillam --- .automation/generated/flavors-stats.json | 64 ++++++++++++++++++++++ .automation/generated/linter-helps.json | 41 ++++++++------ .automation/generated/linter-versions.json | 4 +- CHANGELOG.md | 2 + docs/all_linters.md | 4 +- docs/descriptors/ansible_ansible_lint.md | 49 +++++++++-------- docs/descriptors/csharp_csharpier.md | 2 +- docs/descriptors/python_black.md | 4 +- docs/used-by-stats.md | 26 ++++----- megalinter/utils.py | 2 +- 10 files changed, 137 insertions(+), 61 deletions(-) diff --git a/.automation/generated/flavors-stats.json b/.automation/generated/flavors-stats.json index 9a5d032a31f..6079041ca40 100644 --- a/.automation/generated/flavors-stats.json +++ b/.automation/generated/flavors-stats.json @@ -1227,6 +1227,10 @@ [ "2023-01-15T05:54:49", 2736813 + ], + [ + "2023-01-16T01:07:20", + 2737170 ] ], "ci_light": [ @@ -2457,6 +2461,10 @@ [ "2023-01-15T05:54:49", 43309 + ], + [ + "2023-01-16T01:07:20", + 43358 ] ], "cupcake": [ @@ -2667,6 +2675,10 @@ [ "2023-01-15T05:54:49", 1594 + ], + [ + "2023-01-16T01:07:20", + 1594 ] ], "dart": [ @@ -4807,6 +4819,10 @@ [ "2023-01-15T05:54:49", 103544 + ], + [ + "2023-01-16T01:07:20", + 103714 ] ], "dotnet": [ @@ -6037,6 +6053,10 @@ [ "2023-01-15T05:54:49", 340274 + ], + [ + "2023-01-16T01:07:20", + 340305 ] ], "go": [ @@ -7267,6 +7287,10 @@ [ "2023-01-15T05:54:49", 16062 + ], + [ + "2023-01-16T01:07:20", + 16074 ] ], "java": [ @@ -8497,6 +8521,10 @@ [ "2023-01-15T05:54:49", 105574 + ], + [ + "2023-01-16T01:07:20", + 105598 ] ], "javascript": [ @@ -9727,6 +9755,10 @@ [ "2023-01-15T05:54:49", 186825 + ], + [ + "2023-01-16T01:07:20", + 187064 ] ], "php": [ @@ -10957,6 +10989,10 @@ [ "2023-01-15T05:54:49", 38085 + ], + [ + "2023-01-16T01:07:20", + 38341 ] ], "python": [ @@ -12187,6 +12223,10 @@ [ "2023-01-15T05:54:49", 146579 + ], + [ + "2023-01-16T01:07:20", + 146752 ] ], "ruby": [ @@ -13413,6 +13453,10 @@ [ "2023-01-15T05:54:49", 2815 + ], + [ + "2023-01-16T01:07:20", + 2815 ] ], "rust": [ @@ -14639,6 +14683,10 @@ [ "2023-01-15T05:54:49", 4420 + ], + [ + "2023-01-16T01:07:20", + 4420 ] ], "salesforce": [ @@ -15869,6 +15917,10 @@ [ "2023-01-15T05:54:49", 16000 + ], + [ + "2023-01-16T01:07:20", + 16000 ] ], "scala": [ @@ -17097,6 +17149,10 @@ [ "2023-01-15T05:54:49", 2065 + ], + [ + "2023-01-16T01:07:20", + 2065 ] ], "swift": [ @@ -18323,6 +18379,10 @@ [ "2023-01-15T05:54:49", 3094 + ], + [ + "2023-01-16T01:07:20", + 3094 ] ], "terraform": [ @@ -19553,6 +19613,10 @@ [ "2023-01-15T05:54:49", 160790 + ], + [ + "2023-01-16T01:07:20", + 160953 ] ] } \ No newline at end of file diff --git a/.automation/generated/linter-helps.json b/.automation/generated/linter-helps.json index 015f29b10e8..bc1cd1d21e5 100644 --- a/.automation/generated/linter-helps.json +++ b/.automation/generated/linter-helps.json @@ -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:", @@ -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}", @@ -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.", @@ -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", @@ -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", @@ -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", diff --git a/.automation/generated/linter-versions.json b/.automation/generated/linter-versions.json index 55275965362..161731889b1 100644 --- a/.automation/generated/linter-versions.json +++ b/.automation/generated/linter-versions.json @@ -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", @@ -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", diff --git a/CHANGELOG.md b/CHANGELOG.md index 1902bbad89c..6d1168079c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 ## [v6.18.0] - 2023-01-07 diff --git a/docs/all_linters.md b/docs/all_linters.md index ecdada4f794..68111dc9e31 100644 --- a/docs/all_linters.md +++ b/docs/all_linters.md @@ -6,7 +6,7 @@ | Linter | Version | License | Popularity | Descriptors | Ref | URL | |:--------------------------------------------------------------------------------------------------------|:-----------------:|:-------------------------------------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------:|:---------------------------------------------------------------------------------------------------------------------------------------------------:| | [**actionlint**](https://github.com/rhysd/actionlint){target=_blank} | 1.6.22 | [MIT](licenses/actionlint.md) | [![GitHub stars](https://img.shields.io/github/stars/rhysd/actionlint?cacheSeconds=3600)](https://github.com/rhysd/actionlint){target=_blank} | [ACTION](descriptors/action_actionlint.md) | :white_circle: | [Repository](https://github.com/rhysd/actionlint){target=_blank} | -| [**ansible-lint**](https://github.com/ansible/ansible-lint){target=_blank} | 6.7.0 | [GPL-3.0](licenses/ansible-lint.md) | [![GitHub stars](https://img.shields.io/github/stars/ansible/ansible-lint?cacheSeconds=3600)](https://github.com/ansible/ansible-lint){target=_blank} | [ANSIBLE](descriptors/ansible_ansible_lint.md) | :white_circle: | [Repository](https://github.com/ansible/ansible-lint){target=_blank} | +| [**ansible-lint**](https://github.com/ansible/ansible-lint){target=_blank} | 6.10.2 | [GPL-3.0](licenses/ansible-lint.md) | [![GitHub stars](https://img.shields.io/github/stars/ansible/ansible-lint?cacheSeconds=3600)](https://github.com/ansible/ansible-lint){target=_blank} | [ANSIBLE](descriptors/ansible_ansible_lint.md) | :white_circle: | [Repository](https://github.com/ansible/ansible-lint){target=_blank} | | [**arm-ttk**](https://github.com/Azure/arm-ttk){target=_blank} | N/A | | [![GitHub stars](https://img.shields.io/github/stars/Azure/arm-ttk?cacheSeconds=3600)](https://github.com/Azure/arm-ttk){target=_blank} | [ARM](descriptors/arm_arm_ttk.md) | :white_circle: | [Repository](https://github.com/Azure/arm-ttk){target=_blank} | | [**bandit**](https://github.com/PyCQA/bandit){target=_blank} | 1.7.4 | [Apache-2.0](licenses/bandit.md) | [![GitHub stars](https://img.shields.io/github/stars/PyCQA/bandit?cacheSeconds=3600)](https://github.com/PyCQA/bandit){target=_blank} | [PYTHON](descriptors/python_bandit.md) | :white_circle: | [Repository](https://github.com/PyCQA/bandit){target=_blank} | | [**bash-exec**](https://tiswww.case.edu/php/chet/bash/bashtop.html){target=_blank} | 5.1.16 | | | [BASH](descriptors/bash_bash_exec.md) | | [Web Site](https://tiswww.case.edu/php/chet/bash/bashtop.html){target=_blank} | @@ -21,7 +21,7 @@ | [**clj-kondo**](https://github.com/borkdude/clj-kondo){target=_blank} | 2023.01.12 | [EPL-1.0](licenses/clj-kondo.md) | [![GitHub stars](https://img.shields.io/github/stars/borkdude/clj-kondo?cacheSeconds=3600)](https://github.com/borkdude/clj-kondo){target=_blank} | [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.11 | [Other](licenses/coffeelint.md) | [![GitHub stars](https://img.shields.io/github/stars/clutchski/coffeelint?cacheSeconds=3600)](https://github.com/clutchski/coffeelint){target=_blank} | [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.1 | | [![GitHub stars](https://img.shields.io/github/stars/cpplint/cpplint?cacheSeconds=3600)](https://github.com/cpplint/cpplint){target=_blank} | [C](descriptors/c_cpplint.md)
[CPP](descriptors/cpp_cpplint.md) | :white_circle: | [Repository](https://github.com/cpplint/cpplint){target=_blank} | -| [**csharpier**](https://github.com/belav/csharpier){target=_blank} | 0.21.0 | | [![GitHub stars](https://img.shields.io/github/stars/belav/csharpier?cacheSeconds=3600)](https://github.com/belav/csharpier){target=_blank} | [CSHARP](descriptors/csharp_csharpier.md) | :white_circle: | [Repository](https://github.com/belav/csharpier){target=_blank} | +| [**csharpier**](https://github.com/belav/csharpier){target=_blank} | 0.22.0 | | [![GitHub stars](https://img.shields.io/github/stars/belav/csharpier?cacheSeconds=3600)](https://github.com/belav/csharpier){target=_blank} | [CSHARP](descriptors/csharp_csharpier.md) | :white_circle: | [Repository](https://github.com/belav/csharpier){target=_blank} | | [**cspell**](https://github.com/streetsidesoftware/cspell){target=_blank} | 6.18.1 | [MIT](licenses/cspell.md) | [![GitHub stars](https://img.shields.io/github/stars/streetsidesoftware/cspell?cacheSeconds=3600)](https://github.com/streetsidesoftware/cspell){target=_blank} | [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) | [![GitHub stars](https://img.shields.io/github/stars/dart-lang/sdk?cacheSeconds=3600)](https://github.com/dart-lang/sdk){target=_blank} | [DART](descriptors/dart_dartanalyzer.md) | :no_entry_sign: | [Repository](https://github.com/dart-lang/sdk){target=_blank} | | [**devskim**](https://github.com/microsoft/DevSkim){target=_blank} | 0.7.103 | [MIT](licenses/devskim.md) | [![GitHub stars](https://img.shields.io/github/stars/microsoft/DevSkim?cacheSeconds=3600)](https://github.com/microsoft/DevSkim){target=_blank} | [REPOSITORY](descriptors/repository_devskim.md) | :white_circle: | [Repository](https://github.com/microsoft/DevSkim){target=_blank} | diff --git a/docs/descriptors/ansible_ansible_lint.md b/docs/descriptors/ansible_ansible_lint.md index e97c1b51f19..3a41eba4654 100644 --- a/docs/descriptors/ansible_ansible_lint.md +++ b/docs/descriptors/ansible_ansible_lint.md @@ -9,11 +9,11 @@ description: How to use ansible-lint (configure, ignore files, ignore errors, he ## ansible-lint documentation -- Version in MegaLinter: **6.7.0** -- Visit [Official Web Site](https://ansible-lint.readthedocs.io/en/latest/){target=_blank} -- See [How to configure ansible-lint rules](https://ansible-lint.readthedocs.io/en/latest/configuring.html#configuration-file){target=_blank} -- See [How to disable ansible-lint rules in files](https://ansible-lint.readthedocs.io/en/latest/rules.html#false-positives-skipping-rules){target=_blank} -- See [Index of problems detected by ansible-lint](https://ansible-lint.readthedocs.io/en/latest/default_rules.html){target=_blank} +- Version in MegaLinter: **6.10.2** +- Visit [Official Web Site](https://ansible-lint.readthedocs.io/){target=_blank} +- See [How to configure ansible-lint rules](https://ansible-lint.readthedocs.io/configuring/#configuration-file){target=_blank} +- See [How to disable ansible-lint rules in files](https://ansible-lint.readthedocs.io/usage/#muting-warnings-to-avoid-false-positives){target=_blank} +- See [Index of problems detected by ansible-lint](https://ansible-lint.readthedocs.io/rules/){target=_blank} [![ansible-lint - GitHub](https://gh-card.dev/repos/ansible/ansible-lint.svg?fullname=)](https://github.com/ansible/ansible-lint){target=_blank} @@ -88,16 +88,17 @@ ansible-lint -v -c .ansible-lint ### Help content ```shell -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: @@ -106,6 +107,7 @@ positional arguments: 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} @@ -116,13 +118,12 @@ options: 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. @@ -131,6 +132,8 @@ options: 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 @@ -156,9 +159,11 @@ options: 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 @@ -176,4 +181,4 @@ options: ### Installation on mega-linter Docker image - PIP packages (Python): - - [ansible-lint==6.7.0](https://pypi.org/project/ansible-lint==6.7.0) + - [ansible-lint](https://pypi.org/project/ansible-lint) diff --git a/docs/descriptors/csharp_csharpier.md b/docs/descriptors/csharp_csharpier.md index cbe01158f22..a0bf978dca3 100644 --- a/docs/descriptors/csharp_csharpier.md +++ b/docs/descriptors/csharp_csharpier.md @@ -9,7 +9,7 @@ description: How to use csharpier (configure, ignore files, ignore errors, help ## csharpier documentation -- Version in MegaLinter: **0.21.0** +- Version in MegaLinter: **0.22.0** - Visit [Official Web Site](https://csharpier.com/){target=_blank} - See [How to configure csharpier rules](https://csharpier.com/docs/Configuration){target=_blank} - See [How to ignore files and directories with csharpier](https://csharpier.com/docs/Ignore){target=_blank} diff --git a/docs/descriptors/python_black.md b/docs/descriptors/python_black.md index 6e6280d27c1..ef86e4795a7 100644 --- a/docs/descriptors/python_black.md +++ b/docs/descriptors/python_black.md @@ -119,8 +119,8 @@ Options: 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 diff --git a/docs/used-by-stats.md b/docs/used-by-stats.md index e6f7a7db93e..846e5b7a002 100644 --- a/docs/used-by-stats.md +++ b/docs/used-by-stats.md @@ -3,13 +3,13 @@ [![](https://img.shields.io/static/v1?label=Used%20by&message=1943&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) [![](https://img.shields.io/static/v1?label=Used%20by%20(public)&message=1335&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) [![](https://img.shields.io/static/v1?label=Used%20by%20(private)&message=608&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) -[![](https://img.shields.io/static/v1?label=Used%20by%20(stars)&message=45600&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) +[![](https://img.shields.io/static/v1?label=Used%20by%20(stars)&message=45630&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) | Repository | Stars | |:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------:| -| [nektos/act](https://github.com/nektos/act) | 33926 | -| [stepancheg/rust-protobuf](https://github.com/stepancheg/rust-protobuf) | 2307 | -| [IlanCosman/tide](https://github.com/IlanCosman/tide) | 1741 | +| [nektos/act](https://github.com/nektos/act) | 33949 | +| [stepancheg/rust-protobuf](https://github.com/stepancheg/rust-protobuf) | 2309 | +| [IlanCosman/tide](https://github.com/IlanCosman/tide) | 1742 | | [dorssel/usbipd-win](https://github.com/dorssel/usbipd-win) | 1573 | | [microsoft/code-with-engineering-playbook](https://github.com/microsoft/code-with-engineering-playbook) | 1507 | | [oxsecurity/megalinter](https://github.com/oxsecurity/megalinter) | 1027 | @@ -18,24 +18,24 @@ | [unixorn/git-extra-commands](https://github.com/unixorn/git-extra-commands) | 844 | | [unixorn/zsh-quickstart-kit](https://github.com/unixorn/zsh-quickstart-kit) | 610 | | [secureCodeBox/secureCodeBox](https://github.com/secureCodeBox/secureCodeBox) | 552 | -| [awslabs/aws-deployment-framework](https://github.com/awslabs/aws-deployment-framework) | 523 | +| [awslabs/aws-deployment-framework](https://github.com/awslabs/aws-deployment-framework) | 524 | | [practicalli/clojure-deps-edn](https://github.com/practicalli/clojure-deps-edn) | 442 | | [llaville/php-compatinfo](https://github.com/llaville/php-compatinfo) | 358 | | [ruzickap/packer-templates](https://github.com/ruzickap/packer-templates) | 353 | | [OCSInventory-NG/OCSInventory-Server](https://github.com/OCSInventory-NG/OCSInventory-Server) | 287 | | [ahmadnassri/action-dependabot-auto-merge](https://github.com/ahmadnassri/action-dependabot-auto-merge) | 280 | | [xUnholy/k8s-gitops](https://github.com/xUnholy/k8s-gitops) | 276 | -| [bjw-s/home-ops](https://github.com/bjw-s/home-ops) | 230 | +| [bjw-s/home-ops](https://github.com/bjw-s/home-ops) | 231 | | [leosuncin/nest-auth-example](https://github.com/leosuncin/nest-auth-example) | 228 | -| [meichthys/foss_photo_libraries](https://github.com/meichthys/foss_photo_libraries) | 201 | +| [meichthys/foss_photo_libraries](https://github.com/meichthys/foss_photo_libraries) | 204 | | [OCSInventory-NG/OCSInventory-ocsreports](https://github.com/OCSInventory-NG/OCSInventory-ocsreports) | 192 | | [pantheon-systems/documentation](https://github.com/pantheon-systems/documentation) | 180 | -| [toboshii/home-ops](https://github.com/toboshii/home-ops) | 152 | +| [toboshii/home-ops](https://github.com/toboshii/home-ops) | 153 | | [unixorn/tumult.plugin.zsh](https://github.com/unixorn/tumult.plugin.zsh) | 145 | | [nvuillam/npm-groovy-lint](https://github.com/nvuillam/npm-groovy-lint) | 131 | -| [unixorn/fzf-zsh-plugin](https://github.com/unixorn/fzf-zsh-plugin) | 129 | +| [unixorn/fzf-zsh-plugin](https://github.com/unixorn/fzf-zsh-plugin) | 130 | +| [carpenike/k8s-gitops](https://github.com/carpenike/k8s-gitops) | 127 | | [newrelic/newrelic-python-agent](https://github.com/newrelic/newrelic-python-agent) | 126 | -| [carpenike/k8s-gitops](https://github.com/carpenike/k8s-gitops) | 126 | | [apigee/devrel](https://github.com/apigee/devrel) | 124 | | [T145/black-mirror](https://github.com/T145/black-mirror) | 116 | | [cbg-ethz/V-pipe](https://github.com/cbg-ethz/V-pipe) | 102 | @@ -231,9 +231,11 @@ | [fernandopn/swarm-mind](https://github.com/fernandopn/swarm-mind) | 3 | | [fernandopn/swarm](https://github.com/fernandopn/swarm) | 3 | | [mgueye01/homelab](https://github.com/mgueye01/homelab) | 3 | +| [philips-software/amp-hal-st](https://github.com/philips-software/amp-hal-st) | 3 | | [maksimkurb/home-ops](https://github.com/maksimkurb/home-ops) | 3 | | [ahmadnassri/action-google-cloud-sql-proxy](https://github.com/ahmadnassri/action-google-cloud-sql-proxy) | 3 | | [Euvaz/GitOps-Home](https://github.com/Euvaz/GitOps-Home) | 3 | +| [miracum/recruit](https://github.com/miracum/recruit) | 3 | | [bjw-s/esphome-config](https://github.com/bjw-s/esphome-config) | 3 | | [jmuelbert/generator-swift](https://github.com/jmuelbert/generator-swift) | 3 | | [brandonmcclure/friendly-chainsaw](https://github.com/brandonmcclure/friendly-chainsaw) | 3 | @@ -290,14 +292,12 @@ | [proinsias/proinsias](https://github.com/proinsias/proinsias) | 2 | | [proinsias/dotfiles](https://github.com/proinsias/dotfiles) | 2 | | [shotcowboystyle/wutanglan](https://github.com/shotcowboystyle/wutanglan) | 2 | -| [philips-software/amp-hal-st](https://github.com/philips-software/amp-hal-st) | 2 | | [zbigniewzolnierowicz/cluster](https://github.com/zbigniewzolnierowicz/cluster) | 2 | | [ChristfriedBalizou/homelab](https://github.com/ChristfriedBalizou/homelab) | 2 | | [singhmanavjot/infrastructure](https://github.com/singhmanavjot/infrastructure) | 2 | | [ahmadnassri/docker-mermaid-cli](https://github.com/ahmadnassri/docker-mermaid-cli) | 2 | | [lucacalcaterra/kube-home-flux-2](https://github.com/lucacalcaterra/kube-home-flux-2) | 2 | | [dkw99/home-ops](https://github.com/dkw99/home-ops) | 2 | -| [miracum/recruit](https://github.com/miracum/recruit) | 2 | | [wesley-dean/hsc](https://github.com/wesley-dean/hsc) | 2 | | [dorssel/dotnet-xmss](https://github.com/dorssel/dotnet-xmss) | 2 | | [cityssm/lot-occupancy-system](https://github.com/cityssm/lot-occupancy-system) | 2 | @@ -378,6 +378,7 @@ | [uah-ams/uah-ams-website](https://github.com/uah-ams/uah-ams-website) | 1 | | [mimmi20/laminas-router-hostname](https://github.com/mimmi20/laminas-router-hostname) | 1 | | [mimmi20/template](https://github.com/mimmi20/template) | 1 | +| [Doonga/greyrock-ops](https://github.com/Doonga/greyrock-ops) | 1 | | [proinsias/infrared-observations](https://github.com/proinsias/infrared-observations) | 1 | | [proinsias/detection-and-exploration](https://github.com/proinsias/detection-and-exploration) | 1 | | [bh2754/kube](https://github.com/bh2754/kube) | 1 | @@ -1045,7 +1046,6 @@ | [proinsias/whoareyou](https://github.com/proinsias/whoareyou) | 0 | | [ShadowsZD/github_actions](https://github.com/ShadowsZD/github_actions) | 0 | | [HealthDataInsight/way_of_working](https://github.com/HealthDataInsight/way_of_working) | 0 | -| [Doonga/greyrock-ops](https://github.com/Doonga/greyrock-ops) | 0 | | [brettinternet/brettinternet.github.io](https://github.com/brettinternet/brettinternet.github.io) | 0 | | [Caprico85/node-red-contrib-google-smarthome](https://github.com/Caprico85/node-red-contrib-google-smarthome) | 0 | | [sg70/hm-homebridge-addon](https://github.com/sg70/hm-homebridge-addon) | 0 | diff --git a/megalinter/utils.py b/megalinter/utils.py index 4971ff6303a..afb19e13644 100644 --- a/megalinter/utils.py +++ b/megalinter/utils.py @@ -5,11 +5,11 @@ import logging import os import re -import regex from fnmatch import fnmatch from typing import Any, Optional, Pattern, Sequence import git +import regex from megalinter import config from megalinter.constants import DEFAULT_DOCKER_WORKSPACE_DIR