From 0f9a6e0aae41db447d2f6a131161ff63df6a3d8b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Mar 2022 17:33:52 +0000 Subject: [PATCH 1/3] Bump minimist from 1.2.5 to 1.2.6 in /mega-linter-runner Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] --- mega-linter-runner/package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mega-linter-runner/package-lock.json b/mega-linter-runner/package-lock.json index b3c43352cfa..8b7d6cbe1e5 100644 --- a/mega-linter-runner/package-lock.json +++ b/mega-linter-runner/package-lock.json @@ -2482,9 +2482,9 @@ } }, "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" }, "minipass": { "version": "3.1.5", From dc739f5ca4037e16a31c29c53c660d986dd10e6c Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Tue, 29 Mar 2022 01:53:37 +0000 Subject: [PATCH 2/3] [automation] Auto-update linters version, help and documentation --- .automation/generated/flavors-stats.json | 64 ++++++++++++++++++++++ .automation/generated/linter-helps.json | 16 +++--- .automation/generated/linter-versions.json | 10 ++-- CHANGELOG.md | 5 ++ docs/all_linters.md | 10 ++-- docs/descriptors/html_htmlhint.md | 2 +- docs/descriptors/php_phpstan.md | 2 +- docs/descriptors/python_black.md | 14 +++-- docs/descriptors/python_flake8.md | 4 +- docs/descriptors/snakemake_snakemake.md | 2 +- docs/descriptors/terraform_checkov.md | 2 +- docs/installation.md | 5 ++ 12 files changed, 107 insertions(+), 29 deletions(-) diff --git a/.automation/generated/flavors-stats.json b/.automation/generated/flavors-stats.json index f008d6df201..dfa9c2a053f 100644 --- a/.automation/generated/flavors-stats.json +++ b/.automation/generated/flavors-stats.json @@ -687,6 +687,10 @@ [ "2022-03-27T20:21:20", 2473802 + ], + [ + "2022-03-29T01:52:21", + 2474402 ] ], "ci_light": [ @@ -1377,6 +1381,10 @@ [ "2022-03-27T20:21:20", 8789 + ], + [ + "2022-03-29T01:52:21", + 8826 ] ], "dart": [ @@ -2067,6 +2075,10 @@ [ "2022-03-27T20:21:20", 2499 + ], + [ + "2022-03-29T01:52:21", + 2510 ] ], "documentation": [ @@ -2757,6 +2769,10 @@ [ "2022-03-27T20:21:20", 46359 + ], + [ + "2022-03-29T01:52:21", + 46526 ] ], "dotnet": [ @@ -3447,6 +3463,10 @@ [ "2022-03-27T20:21:20", 292016 + ], + [ + "2022-03-29T01:52:21", + 292196 ] ], "go": [ @@ -4137,6 +4157,10 @@ [ "2022-03-27T20:21:20", 9129 + ], + [ + "2022-03-29T01:52:21", + 9199 ] ], "java": [ @@ -4827,6 +4851,10 @@ [ "2022-03-27T20:21:20", 66839 + ], + [ + "2022-03-29T01:52:21", + 67237 ] ], "javascript": [ @@ -5517,6 +5545,10 @@ [ "2022-03-27T20:21:20", 99869 + ], + [ + "2022-03-29T01:52:21", + 100174 ] ], "php": [ @@ -6207,6 +6239,10 @@ [ "2022-03-27T20:21:20", 4749 + ], + [ + "2022-03-29T01:52:21", + 4850 ] ], "python": [ @@ -6897,6 +6933,10 @@ [ "2022-03-27T20:21:20", 66473 + ], + [ + "2022-03-29T01:52:21", + 66727 ] ], "ruby": [ @@ -7583,6 +7623,10 @@ [ "2022-03-27T20:21:20", 2010 + ], + [ + "2022-03-29T01:52:21", + 2014 ] ], "rust": [ @@ -8269,6 +8313,10 @@ [ "2022-03-27T20:21:20", 2916 + ], + [ + "2022-03-29T01:52:21", + 2938 ] ], "salesforce": [ @@ -8959,6 +9007,10 @@ [ "2022-03-27T20:21:20", 11502 + ], + [ + "2022-03-29T01:52:21", + 11542 ] ], "scala": [ @@ -9645,6 +9697,10 @@ [ "2022-03-27T20:21:20", 1463 + ], + [ + "2022-03-29T01:52:21", + 1463 ] ], "swift": [ @@ -10331,6 +10387,10 @@ [ "2022-03-27T20:21:20", 1501 + ], + [ + "2022-03-29T01:52:21", + 1501 ] ], "terraform": [ @@ -11021,6 +11081,10 @@ [ "2022-03-27T20:21:20", 47538 + ], + [ + "2022-03-29T01:52:21", + 47909 ] ] } \ No newline at end of file diff --git a/.automation/generated/linter-helps.json b/.automation/generated/linter-helps.json index 0a99f9bea76..9c6be066067 100644 --- a/.automation/generated/linter-helps.json +++ b/.automation/generated/linter-helps.json @@ -343,8 +343,8 @@ " 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, time, prun, timeit, capture,", + " python3, pypy). Useful for formatting cells", " with custom python magics.", " -S, --skip-string-normalization", " Don't normalize string quotes or prefixes.", @@ -352,7 +352,7 @@ " 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", @@ -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", @@ -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", @@ -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: ['E121', 'E126', 'W504', 'E704', 'E226',", + " 'W503', 'E24', '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 8b055f1a4e8..49361508a88 100644 --- a/.automation/generated/linter-versions.json +++ b/.automation/generated/linter-versions.json @@ -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.1005", "checkstyle": "10.1", "chktex": "1.7.6", "clippy": "0.1.59", @@ -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", @@ -47,7 +47,7 @@ "php": "7.4.26", "phpcs": "3.6.2", "phplint": "3.0", - "phpstan": "1.5.0", + "phpstan": "1.5.1", "powershell": "7.2.2", "prettier": "2.6.1", "protolint": "0.37.1", @@ -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", diff --git a/CHANGELOG.md b/CHANGELOG.md index 37c70f310df..aafc1b3000c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,11 @@ 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-29 + - [phpstan](https://phpstan.org/) from 1.5.0 to **1.5.1** on 2022-03-29 + - [black](https://black.readthedocs.io/en/stable/) from 22.1.0 to **22.3.0** on 2022-03-29 + - [snakemake](https://snakemake.readthedocs.io/en/stable/) from 7.3.2 to **7.3.3** on 2022-03-29 + - [checkov](https://www.checkov.io/) from 2.0.999 to **2.0.1005** on 2022-03-29 ## [v5.10.0] - 2022-03-20 diff --git a/docs/all_linters.md b/docs/all_linters.md index fb7e87c6a4e..a8ab22d37d9 100644 --- a/docs/all_linters.md +++ b/docs/all_linters.md @@ -10,9 +10,9 @@ | [**arm-ttk**](https://github.com/Azure/arm-ttk){target=_blank} | N/A | | [ARM](descriptors/arm_arm_ttk.md) | :white_circle: | [Web Site](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) | [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} | -| [**black**](https://github.com/psf/black){target=_blank} | 22.1.0 | [MIT](licenses/black.md) | [PYTHON](descriptors/python_black.md) | :white_circle: | [Repository](https://github.com/psf/black){target=_blank} | +| [**black**](https://github.com/psf/black){target=_blank} | 22.3.0 | [MIT](licenses/black.md) | [PYTHON](descriptors/python_black.md) | :white_circle: | [Repository](https://github.com/psf/black){target=_blank} | | [**cfn-lint**](https://github.com/martysweet/cfn-lint){target=_blank} | 0.58.4 | | [CLOUDFORMATION](descriptors/cloudformation_cfn_lint.md) | :white_circle: | [Web Site](https://github.com/martysweet/cfn-lint){target=_blank} | -| [**checkov**](https://github.com/bridgecrewio/checkov){target=_blank} | 2.0.999 | [Apache-2.0](licenses/checkov.md) | [TERRAFORM](descriptors/terraform_checkov.md) | :no_entry_sign: | [Repository](https://github.com/bridgecrewio/checkov){target=_blank} | +| [**checkov**](https://github.com/bridgecrewio/checkov){target=_blank} | 2.0.1005 | [Apache-2.0](licenses/checkov.md) | [TERRAFORM](descriptors/terraform_checkov.md) | :no_entry_sign: | [Repository](https://github.com/bridgecrewio/checkov){target=_blank} | | [**checkstyle**](https://github.com/checkstyle/checkstyle){target=_blank} | 10.1 | [Other](licenses/checkstyle.md) | [JAVA](descriptors/java_checkstyle.md) | :heart: | [MegaLinter reference](https://checkstyle.sourceforge.io/index.html#Related_Tools_Active_Tools){target=_blank} | | [**chktex**](https://www.nongnu.org/chktex){target=_blank} | 1.7.6 | | [LATEX](descriptors/latex_chktex.md) | :white_circle: | [Web Site](https://www.nongnu.org/chktex){target=_blank} | | [**clippy**](https://github.com/rust-lang/rust-clippy){target=_blank} | 0.1.59 | | [RUST](descriptors/rust_clippy.md) | :white_circle: | [Web Site](https://github.com/rust-lang/rust-clippy){target=_blank} | @@ -33,7 +33,7 @@ | [**golangci-lint**](https://github.com/golangci/golangci-lint){target=_blank} | 1.45.2 | [GPL-3.0](licenses/golangci-lint.md) | [GO](descriptors/go_golangci_lint.md) | :white_circle: | [Repository](https://github.com/golangci/golangci-lint){target=_blank} | | [**graphql-schema-linter**](https://github.com/cjoudrey/graphql-schema-linter){target=_blank} | 2.0.1 | | [GRAPHQL](descriptors/graphql_graphql_schema_linter.md) | :hammer_and_wrench: | [Pull Request](https://github.com/cjoudrey/graphql-schema-linter/pull/272){target=_blank} | | [**hadolint**](https://github.com/hadolint/hadolint){target=_blank} | 2.9.1 | | [DOCKERFILE](descriptors/dockerfile_hadolint.md) | :heart: | [MegaLinter reference](https://github.com/hadolint/hadolint/blob/master/docs/INTEGRATION.md#mega-linter){target=_blank} | -| [**htmlhint**](https://github.com/htmlhint/HTMLHint){target=_blank} | 1.1.2 | [MIT](licenses/htmlhint.md) | [HTML](descriptors/html_htmlhint.md) | :heart: | [MegaLinter reference](https://htmlhint.com/docs/user-guide/integrations/task-runner){target=_blank} | +| [**htmlhint**](https://github.com/htmlhint/HTMLHint){target=_blank} | 1.1.3 | [MIT](licenses/htmlhint.md) | [HTML](descriptors/html_htmlhint.md) | :heart: | [MegaLinter reference](https://htmlhint.com/docs/user-guide/integrations/task-runner){target=_blank} | | [**isort**](https://github.com/PyCQA/isort){target=_blank} | 5.10.1 | [MIT](licenses/isort.md) | [PYTHON](descriptors/python_isort.md) | :white_circle: | [Repository](https://github.com/PyCQA/isort){target=_blank} | | [**jscpd**](https://github.com/kucherenko/jscpd){target=_blank} | 3.3.26 | [MIT](licenses/jscpd.md) | [COPYPASTE](descriptors/copypaste_jscpd.md) | :heart: | [MegaLinter reference](https://github.com/kucherenko/jscpd#who-uses-jscpd){target=_blank} | | [**jsonlint**](https://github.com/zaach/jsonlint){target=_blank} | 1.6.3 | | [JSON](descriptors/json_jsonlint.md) | :hammer_and_wrench: | [Pull Request](https://github.com/zaach/jsonlint/pull/127){target=_blank} | @@ -53,7 +53,7 @@ | [**php**](https://github.com/php/php-src){target=_blank} | 7.4.26 | [Other](licenses/php.md) | [PHP](descriptors/php_php.md) | | [Repository](https://github.com/php/php-src){target=_blank} | | [**phpcs**](https://github.com/squizlabs/PHP_CodeSniffer){target=_blank} | 3.6.2 | | [PHP](descriptors/php_phpcs.md) | :white_circle: | [Web Site](https://github.com/squizlabs/PHP_CodeSniffer){target=_blank} | | [**phplint**](https://github.com/overtrue/phplint){target=_blank} | 3.0 | | [PHP](descriptors/php_phplint.md) | :white_circle: | [Web Site](https://github.com/overtrue/phplint){target=_blank} | -| [**phpstan**](https://github.com/phpstan/phpstan){target=_blank} | 1.5.0 | [MIT](licenses/phpstan.md) | [PHP](descriptors/php_phpstan.md) | :white_circle: | [Repository](https://github.com/phpstan/phpstan){target=_blank} | +| [**phpstan**](https://github.com/phpstan/phpstan){target=_blank} | 1.5.1 | [MIT](licenses/phpstan.md) | [PHP](descriptors/php_phpstan.md) | :white_circle: | [Repository](https://github.com/phpstan/phpstan){target=_blank} | | [**powershell**](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} | 7.2.2 | | [POWERSHELL](descriptors/powershell_powershell.md) | :white_circle: | [Web Site](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} | | [**prettier**](https://github.com/prettier/prettier){target=_blank} | 2.6.1 | [MIT](licenses/prettier.md) | [JAVASCRIPT](descriptors/javascript_prettier.md)
[JSON](descriptors/json_prettier.md)
[TYPESCRIPT](descriptors/typescript_prettier.md)
[YAML](descriptors/yaml_prettier.md) | :white_circle: | [Repository](https://github.com/prettier/prettier){target=_blank} | | [**protolint**](https://github.com/yoheimuta/protolint){target=_blank} | 0.37.1 | | [PROTOBUF](descriptors/protobuf_protolint.md) | :white_circle: | [Web Site](https://github.com/yoheimuta/protolint){target=_blank} | @@ -76,7 +76,7 @@ | [**shellcheck**](https://github.com/koalaman/shellcheck){target=_blank} | 0.8.0 | | [BASH](descriptors/bash_shellcheck.md) | | [Web Site](https://github.com/koalaman/shellcheck){target=_blank} | | [**shfmt**](https://github.com/mvdan/sh){target=_blank} | 3.5.0 | | [BASH](descriptors/bash_shfmt.md) | :no_entry_sign: | [Web Site](https://github.com/mvdan/sh){target=_blank} | | [**snakefmt**](https://github.com/snakemake/snakefmt){target=_blank} | 0.6.0 | | [SNAKEMAKE](descriptors/snakemake_snakefmt.md) | :white_circle: | [Web Site](https://github.com/snakemake/snakefmt){target=_blank} | -| [**snakemake**](https://github.com/snakemake/snakemake){target=_blank} | 7.3.2 | [MIT](licenses/snakemake.md) | [SNAKEMAKE](descriptors/snakemake_snakemake.md) | :white_circle: | [Repository](https://github.com/snakemake/snakemake){target=_blank} | +| [**snakemake**](https://github.com/snakemake/snakemake){target=_blank} | 7.3.3 | [MIT](licenses/snakemake.md) | [SNAKEMAKE](descriptors/snakemake_snakemake.md) | :white_circle: | [Repository](https://github.com/snakemake/snakemake){target=_blank} | | [**spectral**](https://github.com/stoplightio/spectral){target=_blank} | 5.6.0 | [Apache-2.0](licenses/spectral.md) | [OPENAPI](descriptors/openapi_spectral.md) | :white_circle: | [Repository](https://github.com/stoplightio/spectral){target=_blank} | | [**sql-lint**](https://github.com/joereynolds/sql-lint){target=_blank} | 0.0.19 | | [SQL](descriptors/sql_sql_lint.md) | :white_circle: | [Web Site](https://github.com/joereynolds/sql-lint){target=_blank} | | [**sqlfluff**](https://github.com/sqlfluff/sqlfluff){target=_blank} | 0.11.2 | [MIT](licenses/sqlfluff.md) | [SQL](descriptors/sql_sqlfluff.md) | :white_circle: | [Repository](https://github.com/sqlfluff/sqlfluff){target=_blank} | diff --git a/docs/descriptors/html_htmlhint.md b/docs/descriptors/html_htmlhint.md index 081ed286996..310da114d89 100644 --- a/docs/descriptors/html_htmlhint.md +++ b/docs/descriptors/html_htmlhint.md @@ -4,7 +4,7 @@ ## htmlhint documentation -- Version in MegaLinter: **1.1.2** +- Version in MegaLinter: **1.1.3** - Visit [Official Web Site](https://htmlhint.com/){target=_blank} - See [How to configure htmlhint rules](https://htmlhint.com/docs/user-guide/configuration){target=_blank} - If custom `.htmlhintrc` config file is not found, [.htmlhintrc](https://github.com/megalinter/megalinter/tree/main/TEMPLATES/.htmlhintrc){target=_blank} will be used diff --git a/docs/descriptors/php_phpstan.md b/docs/descriptors/php_phpstan.md index 3444e9cf6d4..16214a1fec8 100644 --- a/docs/descriptors/php_phpstan.md +++ b/docs/descriptors/php_phpstan.md @@ -4,7 +4,7 @@ ## phpstan documentation -- Version in MegaLinter: **1.5.0** +- Version in MegaLinter: **1.5.1** - Visit [Official Web Site](https://phpstan.org/){target=_blank} - See [How to configure phpstan rules](https://phpstan.org/config-reference#neon-format){target=_blank} - If custom `phpstan.neon.dist` config file is not found, [phpstan.neon.dist](https://github.com/megalinter/megalinter/tree/main/TEMPLATES/phpstan.neon.dist){target=_blank} will be used diff --git a/docs/descriptors/python_black.md b/docs/descriptors/python_black.md index f1182c8dcb8..1bc2d2ba685 100644 --- a/docs/descriptors/python_black.md +++ b/docs/descriptors/python_black.md @@ -9,7 +9,7 @@ ## black documentation -- Version in MegaLinter: **22.1.0** +- Version in MegaLinter: **22.3.0** - Visit [Official Web Site](https://black.readthedocs.io/en/stable/){target=_blank} - See [How to configure black rules](https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#configuration-format){target=_blank} - If custom `pyproject.toml` config file is not found, [pyproject.toml](https://github.com/megalinter/megalinter/tree/main/TEMPLATES/pyproject.toml){target=_blank} will be used @@ -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, prun, pypy, timeit, python3, - capture, time). Useful for formatting cells + magics (python, time, prun, timeit, capture, + python3, pypy). Useful for formatting cells with custom python magics. -S, --skip-string-normalization Don't normalize string quotes or prefixes. @@ -121,7 +121,7 @@ Options: 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 @@ -137,7 +137,8 @@ Options: --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 @@ -154,7 +155,8 @@ Options: 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 diff --git a/docs/descriptors/python_flake8.md b/docs/descriptors/python_flake8.md index 506c8afb973..90f2c176574 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: ['W504', 'E123', 'E704', 'E121', 'E24', - 'E226', 'W503', 'E126']) + (Default: ['E121', 'E126', 'W504', 'E704', 'E226', + 'W503', 'E24', '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/snakemake_snakemake.md b/docs/descriptors/snakemake_snakemake.md index 9a990a9745b..3ebff31f6da 100644 --- a/docs/descriptors/snakemake_snakemake.md +++ b/docs/descriptors/snakemake_snakemake.md @@ -9,7 +9,7 @@ ## snakemake documentation -- Version in MegaLinter: **7.3.2** +- Version in MegaLinter: **7.3.3** - Visit [Official Web Site](https://snakemake.readthedocs.io/en/stable/){target=_blank} [![snakemake - GitHub](https://gh-card.dev/repos/snakemake/snakemake.svg?fullname=)](https://github.com/snakemake/snakemake){target=_blank} diff --git a/docs/descriptors/terraform_checkov.md b/docs/descriptors/terraform_checkov.md index 41edde2c423..266e1635b75 100644 --- a/docs/descriptors/terraform_checkov.md +++ b/docs/descriptors/terraform_checkov.md @@ -9,7 +9,7 @@ ## checkov documentation -- Version in MegaLinter: **2.0.999** +- Version in MegaLinter: **2.0.1005** - Visit [Official Web Site](https://www.checkov.io/){target=_blank} - See [How to disable checkov rules in files](https://www.checkov.io/2.Basics/Suppressing%20and%20Skipping%20Policies.html){target=_blank} - See [Index of problems detected by checkov](https://www.checkov.io/5.Policy%20Index/all.html){target=_blank} diff --git a/docs/installation.md b/docs/installation.md index f769cbc2af5..dd650950503 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -180,6 +180,11 @@ stage('MegaLinter') { steps { sh '/entrypoint.sh' } + post { + always { + archiveArtifacts allowEmptyArchive: true, artifacts: 'mega-linter.log,report/**/*', defaultExcludes: false, followSymlinks: false + } + } } ``` From 08d23feac47705efdd7a63d6ee2c38969932826d Mon Sep 17 00:00:00 2001 From: nvuillam Date: Tue, 29 Mar 2022 07:34:37 +0200 Subject: [PATCH 3/3] fix mypy test case --- .automation/test/python_mypy/python_good_1.py | 2 +- .automation/test/python_mypy/python_good_2.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.automation/test/python_mypy/python_good_1.py b/.automation/test/python_mypy/python_good_1.py index fd2e6a868e6..c8ca244c8fd 100644 --- a/.automation/test/python_mypy/python_good_1.py +++ b/.automation/test/python_mypy/python_good_1.py @@ -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 diff --git a/.automation/test/python_mypy/python_good_2.py b/.automation/test/python_mypy/python_good_2.py index fd2e6a868e6..c8ca244c8fd 100644 --- a/.automation/test/python_mypy/python_good_2.py +++ b/.automation/test/python_mypy/python_good_2.py @@ -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