mega-linter-runner 10.2.0 → 10.2.1-beta202611140942.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -15,7 +15,7 @@
15
15
  [![Downloads/total](https://img.shields.io/npm/dt/mega-linter-runner.svg)](https://npmjs.org/package/mega-linter-runner)
16
16
  [![GitHub stars](https://img.shields.io/github/stars/oxsecurity/megalinter?maxAge=2592000)](https://GitHub.com/oxsecurity/megalinter/stargazers/)
17
17
  <!-- readme-header-start -->
18
- [![Docker Pulls](https://img.shields.io/badge/docker%20pulls-29.0M-blue)](https://megalinter.io/flavors/)
18
+ [![Docker Pulls](https://img.shields.io/badge/docker%20pulls-29.3M-blue)](https://megalinter.io/flavors/)
19
19
  [![MegaLinter](https://github.com/oxsecurity/megalinter/workflows/MegaLinter/badge.svg?branch=main)](https://megalinter.io)
20
20
  [![codecov](https://codecov.io/gh/oxsecurity/megalinter/branch/master/graph/badge.svg)](https://codecov.io/gh/oxsecurity/megalinter)
21
21
  [![Secured with Trivy](https://img.shields.io/badge/Trivy-secured-green?logo=docker)](https://github.com/aquasecurity/trivy)
@@ -258,6 +258,7 @@ You can generate a ready-to-use [.mega-linter.yml configuration file](https://me
258
258
  | <img src="https://github.com/oxsecurity/megalinter/raw/main/docs/assets/icons/python.ico" alt="" height="32px" class="megalinter-icon"></a> <!-- linter-icon --> | [**PYTHON**](https://github.com/oxsecurity/megalinter/tree/main/docs/descriptors/python.md) | [**pyright**](https://github.com/oxsecurity/megalinter/tree/main/docs/descriptors/python_pyright.md)<br/>[_PYTHON_PYRIGHT_](https://github.com/oxsecurity/megalinter/tree/main/docs/descriptors/python_pyright.md) | [![GitHub stars](https://img.shields.io/github/stars/microsoft/pyright?cacheSeconds=3600)](https://github.com/microsoft/pyright) |
259
259
  | <img src="https://github.com/oxsecurity/megalinter/raw/main/docs/assets/icons/python.ico" alt="" height="32px" class="megalinter-icon"></a> <!-- linter-icon --> | [**PYTHON**](https://github.com/oxsecurity/megalinter/tree/main/docs/descriptors/python.md) | [**ruff**](https://github.com/oxsecurity/megalinter/tree/main/docs/descriptors/python_ruff.md)<br/>[_PYTHON_RUFF_](https://github.com/oxsecurity/megalinter/tree/main/docs/descriptors/python_ruff.md) | [![GitHub stars](https://img.shields.io/github/stars/astral-sh/ruff?cacheSeconds=3600)](https://github.com/astral-sh/ruff) ![autofix](https://shields.io/badge/-autofix-green) ![sarif](https://shields.io/badge/-SARIF-orange) |
260
260
  | <img src="https://github.com/oxsecurity/megalinter/raw/main/docs/assets/icons/python.ico" alt="" height="32px" class="megalinter-icon"></a> <!-- linter-icon --> | [**PYTHON**](https://github.com/oxsecurity/megalinter/tree/main/docs/descriptors/python.md) | [**ruff-format**](https://github.com/oxsecurity/megalinter/tree/main/docs/descriptors/python_ruff_format.md)<br/>[_PYTHON_RUFF_FORMAT_](https://github.com/oxsecurity/megalinter/tree/main/docs/descriptors/python_ruff_format.md) | [![GitHub stars](https://img.shields.io/github/stars/astral-sh/ruff?cacheSeconds=3600)](https://github.com/astral-sh/ruff) ![formatter](https://shields.io/badge/-format-yellow) |
261
+ | <img src="https://github.com/oxsecurity/megalinter/raw/main/docs/assets/icons/python.ico" alt="" height="32px" class="megalinter-icon"></a> <!-- linter-icon --> | [**PYTHON**](https://github.com/oxsecurity/megalinter/tree/main/docs/descriptors/python.md) | [**ty**](https://github.com/oxsecurity/megalinter/tree/main/docs/descriptors/python_ty.md)<br/>[_PYTHON_TY_](https://github.com/oxsecurity/megalinter/tree/main/docs/descriptors/python_ty.md) | [![GitHub stars](https://img.shields.io/github/stars/astral-sh/ty?cacheSeconds=3600)](https://github.com/astral-sh/ty) ![autofix](https://shields.io/badge/-autofix-green) ![sarif](https://shields.io/badge/-SARIF-orange) |
261
262
  | <img src="https://github.com/oxsecurity/megalinter/raw/main/docs/assets/icons/r.ico" alt="" height="32px" class="megalinter-icon"></a> <!-- linter-icon --> | [**R**](https://github.com/oxsecurity/megalinter/tree/main/docs/descriptors/r.md) | [**lintr**](https://github.com/oxsecurity/megalinter/tree/main/docs/descriptors/r_lintr.md)<br/>[_R_LINTR_](https://github.com/oxsecurity/megalinter/tree/main/docs/descriptors/r_lintr.md) | [![GitHub stars](https://img.shields.io/github/stars/r-lib/lintr?cacheSeconds=3600)](https://github.com/r-lib/lintr) ![sarif](https://shields.io/badge/-SARIF-orange) |
262
263
  | <img src="https://github.com/oxsecurity/megalinter/raw/main/docs/assets/icons/raku.ico" alt="" height="32px" class="megalinter-icon"></a> <!-- linter-icon --> | [**RAKU**](https://github.com/oxsecurity/megalinter/tree/main/docs/descriptors/raku.md) | [**raku**](https://github.com/oxsecurity/megalinter/tree/main/docs/descriptors/raku_raku.md)<br/>[_RAKU_RAKU_](https://github.com/oxsecurity/megalinter/tree/main/docs/descriptors/raku_raku.md) | [![GitHub stars](https://img.shields.io/github/stars/rakudo/rakudo?cacheSeconds=3600)](https://github.com/rakudo/rakudo) |
263
264
  | <img src="https://github.com/oxsecurity/megalinter/raw/main/docs/assets/icons/ruby.ico" alt="" height="32px" class="megalinter-icon"></a> <!-- linter-icon --> | [**RUBY**](https://github.com/oxsecurity/megalinter/tree/main/docs/descriptors/ruby.md) | [**rubocop**](https://github.com/oxsecurity/megalinter/tree/main/docs/descriptors/ruby_rubocop.md)<br/>[_RUBY_RUBOCOP_](https://github.com/oxsecurity/megalinter/tree/main/docs/descriptors/ruby_rubocop.md) | [![GitHub stars](https://img.shields.io/github/stars/rubocop-hq/rubocop?cacheSeconds=3600)](https://github.com/rubocop-hq/rubocop) ![autofix](https://shields.io/badge/-autofix-green) |
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "_meta": {
3
- "variable_count": 2885,
3
+ "variable_count": 2910,
4
4
  "categories": {
5
5
  "ACTION": 4,
6
6
  "ACTION_ACTIONLINT": 17,
@@ -98,7 +98,7 @@
98
98
  "KUBERNETES_KUBESCAPE": 16,
99
99
  "LATEX": 4,
100
100
  "LATEX_CHKTEX": 16,
101
- "LLM": 10,
101
+ "LLM": 18,
102
102
  "LUA": 4,
103
103
  "LUA_LUACHECK": 17,
104
104
  "LUA_SELENE": 15,
@@ -136,6 +136,7 @@
136
136
  "PYTHON_PYRIGHT": 17,
137
137
  "PYTHON_RUFF": 17,
138
138
  "PYTHON_RUFF_FORMAT": 17,
139
+ "PYTHON_TY": 17,
139
140
  "R": 4,
140
141
  "RAKU": 4,
141
142
  "RAKU_RAKU": 16,
@@ -991,6 +992,27 @@
991
992
  "category": "ANSIBLE",
992
993
  "section": "PREPOSTCOMMANDS"
993
994
  },
995
+ "ANTHROPIC_API_VERSION": {
996
+ "name": "ANTHROPIC_API_VERSION",
997
+ "type": "string",
998
+ "title": "ANTHROPIC: API version",
999
+ "description": "Value of the anthropic-version header sent to the Anthropic API. With 2026-10-21 or later, LLM_TEMPERATURE is not sent (removed from the API)",
1000
+ "default": "2023-06-01",
1001
+ "category": "LLM",
1002
+ "section": "MISC"
1003
+ },
1004
+ "ANTHROPIC_BASE_URL": {
1005
+ "name": "ANTHROPIC_BASE_URL",
1006
+ "type": "string",
1007
+ "title": "ANTHROPIC: Base URL",
1008
+ "description": "Base URL of the Anthropic API, without the version segment (a trailing /v1 is accepted). /v1/messages is appended to it",
1009
+ "default": "https://api.anthropic.com",
1010
+ "examples": [
1011
+ "https://api.anthropic.com"
1012
+ ],
1013
+ "category": "LLM",
1014
+ "section": "MISC"
1015
+ },
994
1016
  "API_FILTER_REGEX_EXCLUDE": {
995
1017
  "name": "API_FILTER_REGEX_EXCLUDE",
996
1018
  "type": [
@@ -1520,6 +1542,7 @@
1520
1542
  "PYTHON_PYRIGHT",
1521
1543
  "PYTHON_RUFF",
1522
1544
  "PYTHON_RUFF_FORMAT",
1545
+ "PYTHON_TY",
1523
1546
  "RAKU_RAKU",
1524
1547
  "REPOSITORY_BETTERLEAKS",
1525
1548
  "REPOSITORY_CHECKOV",
@@ -6847,6 +6870,18 @@
6847
6870
  "category": "DART",
6848
6871
  "section": "PREPOSTCOMMANDS"
6849
6872
  },
6873
+ "DEEPSEEK_BASE_URL": {
6874
+ "name": "DEEPSEEK_BASE_URL",
6875
+ "type": "string",
6876
+ "title": "DEEPSEEK: Base URL",
6877
+ "description": "Base URL of the DeepSeek API. /chat/completions is appended to it",
6878
+ "default": "https://api.deepseek.com/v1",
6879
+ "examples": [
6880
+ "https://api.deepseek.com/v1"
6881
+ ],
6882
+ "category": "LLM",
6883
+ "section": "MISC"
6884
+ },
6850
6885
  "DEFAULT_BRANCH": {
6851
6886
  "name": "DEFAULT_BRANCH",
6852
6887
  "type": "string",
@@ -7064,6 +7099,7 @@
7064
7099
  "PYTHON_PYRIGHT",
7065
7100
  "PYTHON_RUFF",
7066
7101
  "PYTHON_RUFF_FORMAT",
7102
+ "PYTHON_TY",
7067
7103
  "RAKU_RAKU",
7068
7104
  "REPOSITORY_BETTERLEAKS",
7069
7105
  "REPOSITORY_CHECKOV",
@@ -7242,6 +7278,7 @@
7242
7278
  "PYTHON_PYRIGHT",
7243
7279
  "PYTHON_RUFF",
7244
7280
  "PYTHON_RUFF_FORMAT",
7281
+ "PYTHON_TY",
7245
7282
  "RAKU_RAKU",
7246
7283
  "REPOSITORY_BETTERLEAKS",
7247
7284
  "REPOSITORY_CHECKOV",
@@ -8229,6 +8266,7 @@
8229
8266
  "PYTHON_PYRIGHT",
8230
8267
  "PYTHON_RUFF",
8231
8268
  "PYTHON_RUFF_FORMAT",
8269
+ "PYTHON_TY",
8232
8270
  "RAKU_RAKU",
8233
8271
  "REPOSITORY_BETTERLEAKS",
8234
8272
  "REPOSITORY_CHECKOV",
@@ -8407,6 +8445,7 @@
8407
8445
  "PYTHON_PYRIGHT",
8408
8446
  "PYTHON_RUFF",
8409
8447
  "PYTHON_RUFF_FORMAT",
8448
+ "PYTHON_TY",
8410
8449
  "RAKU_RAKU",
8411
8450
  "REPOSITORY_BETTERLEAKS",
8412
8451
  "REPOSITORY_CHECKOV",
@@ -9213,6 +9252,18 @@
9213
9252
  "category": "GITLAB_COMMENT_REPORTER",
9214
9253
  "section": "GENERAL"
9215
9254
  },
9255
+ "GOOGLE_BASE_URL": {
9256
+ "name": "GOOGLE_BASE_URL",
9257
+ "type": "string",
9258
+ "title": "GOOGLE: Base URL",
9259
+ "description": "Base URL of the Google Gemini API. /v1beta is appended when the URL has no version segment, then /models/{model}:generateContent",
9260
+ "default": "https://generativelanguage.googleapis.com",
9261
+ "examples": [
9262
+ "https://generativelanguage.googleapis.com"
9263
+ ],
9264
+ "category": "LLM",
9265
+ "section": "MISC"
9266
+ },
9216
9267
  "GO_FILTER_REGEX_EXCLUDE": {
9217
9268
  "name": "GO_FILTER_REGEX_EXCLUDE",
9218
9269
  "type": [
@@ -10143,6 +10194,18 @@
10143
10194
  "category": "GRAPHQL",
10144
10195
  "section": "PREPOSTCOMMANDS"
10145
10196
  },
10197
+ "GROK_BASE_URL": {
10198
+ "name": "GROK_BASE_URL",
10199
+ "type": "string",
10200
+ "title": "GROK: Base URL",
10201
+ "description": "Base URL of the Grok (xAI) API, including the version segment. /chat/completions is appended to it",
10202
+ "default": "https://api.x.ai/v1",
10203
+ "examples": [
10204
+ "https://api.x.ai/v1"
10205
+ ],
10206
+ "category": "LLM",
10207
+ "section": "MISC"
10208
+ },
10146
10209
  "GROOVY_FILTER_REGEX_EXCLUDE": {
10147
10210
  "name": "GROOVY_FILTER_REGEX_EXCLUDE",
10148
10211
  "type": [
@@ -15643,6 +15706,7 @@
15643
15706
  "PYTHON_PYRIGHT",
15644
15707
  "PYTHON_RUFF",
15645
15708
  "PYTHON_RUFF_FORMAT",
15709
+ "PYTHON_TY",
15646
15710
  "RAKU_RAKU",
15647
15711
  "REPOSITORY_BETTERLEAKS",
15648
15712
  "REPOSITORY_CHECKOV",
@@ -15834,6 +15898,7 @@
15834
15898
  "PYTHON_PYRIGHT",
15835
15899
  "PYTHON_RUFF",
15836
15900
  "PYTHON_RUFF_FORMAT",
15901
+ "PYTHON_TY",
15837
15902
  "RAKU_RAKU",
15838
15903
  "REPOSITORY_BETTERLEAKS",
15839
15904
  "REPOSITORY_CHECKOV",
@@ -18051,6 +18116,18 @@
18051
18116
  "category": "GENERAL",
18052
18117
  "section": "GENERAL"
18053
18118
  },
18119
+ "MISTRAL_BASE_URL": {
18120
+ "name": "MISTRAL_BASE_URL",
18121
+ "type": "string",
18122
+ "title": "MISTRAL: Base URL",
18123
+ "description": "Base URL of the Mistral AI API, including the version segment. /chat/completions is appended to it",
18124
+ "default": "https://api.mistral.ai/v1",
18125
+ "examples": [
18126
+ "https://api.mistral.ai/v1"
18127
+ ],
18128
+ "category": "LLM",
18129
+ "section": "MISC"
18130
+ },
18054
18131
  "MULTI_STATUS": {
18055
18132
  "name": "MULTI_STATUS",
18056
18133
  "type": "boolean",
@@ -18064,11 +18141,35 @@
18064
18141
  "name": "OLLAMA_BASE_URL",
18065
18142
  "type": "string",
18066
18143
  "title": "OLLAMA: Base URL",
18067
- "description": "Base URL to connect to Ollama server",
18144
+ "description": "Base URL to connect to Ollama server, with or without the /api segment. /api/generate is appended to it",
18068
18145
  "default": "http://localhost:11434",
18069
18146
  "category": "LLM",
18070
18147
  "section": "MISC"
18071
18148
  },
18149
+ "OPENAI_BASE_URL": {
18150
+ "name": "OPENAI_BASE_URL",
18151
+ "type": "string",
18152
+ "title": "OPENAI: Base URL",
18153
+ "description": "Base URL of the OpenAI (or OpenAI-compatible) API, including the version segment. /chat/completions is appended to it",
18154
+ "default": "https://api.openai.com/v1",
18155
+ "examples": [
18156
+ "https://api.openai.com/v1"
18157
+ ],
18158
+ "category": "LLM",
18159
+ "section": "MISC"
18160
+ },
18161
+ "ORCAROUTER_BASE_URL": {
18162
+ "name": "ORCAROUTER_BASE_URL",
18163
+ "type": "string",
18164
+ "title": "ORCAROUTER: Base URL",
18165
+ "description": "Base URL of the OrcaRouter API, including the version segment. /chat/completions is appended to it",
18166
+ "default": "https://api.orcarouter.ai/v1",
18167
+ "examples": [
18168
+ "https://api.orcarouter.ai/v1"
18169
+ ],
18170
+ "category": "LLM",
18171
+ "section": "MISC"
18172
+ },
18072
18173
  "OUTPUT_DETAIL": {
18073
18174
  "name": "OUTPUT_DETAIL",
18074
18175
  "type": "string",
@@ -22790,6 +22891,213 @@
22790
22891
  "section": "SECURITY",
22791
22892
  "items_type": "string"
22792
22893
  },
22894
+ "PYTHON_TY_ARGUMENTS": {
22895
+ "name": "PYTHON_TY_ARGUMENTS",
22896
+ "type": [
22897
+ "array",
22898
+ "string"
22899
+ ],
22900
+ "title": "PYTHON_TY: Custom arguments",
22901
+ "description": "PYTHON_TY: User custom arguments to add in linter CLI call",
22902
+ "category": "PYTHON_TY",
22903
+ "section": "LINTER_COMMAND",
22904
+ "items_type": "string"
22905
+ },
22906
+ "PYTHON_TY_CLI_EXECUTABLE": {
22907
+ "name": "PYTHON_TY_CLI_EXECUTABLE",
22908
+ "type": "array",
22909
+ "title": "PYTHON_TY: CLI Executable",
22910
+ "description": "PYTHON_TY: Override CLI executable used to build the linter command line (rarely needed)",
22911
+ "default": [
22912
+ [
22913
+ "ty"
22914
+ ]
22915
+ ],
22916
+ "category": "PYTHON_TY",
22917
+ "section": "LINTER_COMMAND",
22918
+ "items_type": "string"
22919
+ },
22920
+ "PYTHON_TY_CLI_LINT_MODE": {
22921
+ "name": "PYTHON_TY_CLI_LINT_MODE",
22922
+ "type": "string",
22923
+ "title": "PYTHON_TY: CLI lint mode",
22924
+ "description": "PYTHON_TY: Override default CLI lint mode used to call the linter (rarely needed)",
22925
+ "default": "list_of_files",
22926
+ "enum": [
22927
+ "file",
22928
+ "list_of_files",
22929
+ "project"
22930
+ ],
22931
+ "category": "PYTHON_TY",
22932
+ "section": "LINTER_COMMAND"
22933
+ },
22934
+ "PYTHON_TY_COMMAND_REMOVE_ARGUMENTS": {
22935
+ "name": "PYTHON_TY_COMMAND_REMOVE_ARGUMENTS",
22936
+ "type": [
22937
+ "array",
22938
+ "string"
22939
+ ],
22940
+ "title": "PYTHON_TY: Custom remove arguments",
22941
+ "description": "PYTHON_TY: User custom arguments to remove before calling linter",
22942
+ "category": "PYTHON_TY",
22943
+ "section": "LINTER_COMMAND",
22944
+ "items_type": "string"
22945
+ },
22946
+ "PYTHON_TY_CONFIG_FILE": {
22947
+ "name": "PYTHON_TY_CONFIG_FILE",
22948
+ "type": "string",
22949
+ "title": "PYTHON_TY: Custom config file name",
22950
+ "description": "PYTHON_TY: User custom config file name if different from default",
22951
+ "default": "ty.toml",
22952
+ "category": "PYTHON_TY",
22953
+ "section": "LINTER_COMMAND"
22954
+ },
22955
+ "PYTHON_TY_DISABLE_ERRORS": {
22956
+ "name": "PYTHON_TY_DISABLE_ERRORS",
22957
+ "type": "boolean",
22958
+ "title": "PYTHON_TY: Disable errors",
22959
+ "description": "PYTHON_TY: If true, PYTHON_TY doesn't make MegaLinter fail even if errors are found",
22960
+ "default": false,
22961
+ "category": "PYTHON_TY",
22962
+ "section": "ERRORS"
22963
+ },
22964
+ "PYTHON_TY_DISABLE_ERRORS_IF_LESS_THAN": {
22965
+ "name": "PYTHON_TY_DISABLE_ERRORS_IF_LESS_THAN",
22966
+ "type": "number",
22967
+ "title": "PYTHON_TY: Maximum number of errors allowed",
22968
+ "description": "PYTHON_TY: If the number of errors found is less than this value, PYTHON_TY doesn't make MegaLinter fail",
22969
+ "default": 0,
22970
+ "category": "PYTHON_TY",
22971
+ "section": "ERRORS"
22972
+ },
22973
+ "PYTHON_TY_FILE_EXTENSIONS": {
22974
+ "name": "PYTHON_TY_FILE_EXTENSIONS",
22975
+ "type": "array",
22976
+ "title": "PYTHON_TY: Matching files extensions",
22977
+ "description": "PYTHON_TY: Override descriptor/linter matching files extensions that will be used to select files to lint",
22978
+ "default": [
22979
+ ".py",
22980
+ ".pyi"
22981
+ ],
22982
+ "examples": [
22983
+ ".py",
22984
+ ".myext"
22985
+ ],
22986
+ "category": "PYTHON_TY",
22987
+ "section": "SCOPE",
22988
+ "items_type": "string"
22989
+ },
22990
+ "PYTHON_TY_FILE_NAMES_REGEX": {
22991
+ "name": "PYTHON_TY_FILE_NAMES_REGEX",
22992
+ "type": "array",
22993
+ "title": "PYTHON_TY: Matching file name regexes",
22994
+ "description": "PYTHON_TY: Override descriptor/linter matching file name regexes that will be used to select files to lint",
22995
+ "default": [],
22996
+ "examples": [
22997
+ "Dockerfile(-.+)?",
22998
+ "Jenkinsfile"
22999
+ ],
23000
+ "category": "PYTHON_TY",
23001
+ "section": "SCOPE",
23002
+ "items_type": "string"
23003
+ },
23004
+ "PYTHON_TY_FILTER_REGEX_EXCLUDE": {
23005
+ "name": "PYTHON_TY_FILTER_REGEX_EXCLUDE",
23006
+ "type": [
23007
+ "string",
23008
+ "array"
23009
+ ],
23010
+ "title": "PYTHON_TY: Excluding Regex",
23011
+ "description": "PYTHON_TY: Custom regex excluding filter: files matching this regex will NOT be linted. ⚠️ Not available with PYTHON_TY_CLI_LINT_MODE = project",
23012
+ "category": "PYTHON_TY",
23013
+ "section": "SCOPE",
23014
+ "items_type": "string"
23015
+ },
23016
+ "PYTHON_TY_FILTER_REGEX_INCLUDE": {
23017
+ "name": "PYTHON_TY_FILTER_REGEX_INCLUDE",
23018
+ "type": [
23019
+ "string",
23020
+ "array"
23021
+ ],
23022
+ "title": "PYTHON_TY: Including Regex",
23023
+ "description": "PYTHON_TY: Custom regex including filter: only files matching this regex will be linted. ⚠️ Not available with PYTHON_TY_CLI_LINT_MODE = project",
23024
+ "category": "PYTHON_TY",
23025
+ "section": "SCOPE",
23026
+ "items_type": "string"
23027
+ },
23028
+ "PYTHON_TY_FORWARD_EXCLUDED_DIRECTORIES": {
23029
+ "name": "PYTHON_TY_FORWARD_EXCLUDED_DIRECTORIES",
23030
+ "type": "boolean",
23031
+ "title": "PYTHON_TY: Forward excluded directories in project lint mode",
23032
+ "description": "PYTHON_TY: In project CLI lint mode, forward excluded directories to the linter through its native exclusion arguments or generated ignore/config files",
23033
+ "default": true,
23034
+ "category": "PYTHON_TY",
23035
+ "section": "GENERAL"
23036
+ },
23037
+ "PYTHON_TY_POST_COMMANDS": {
23038
+ "name": "PYTHON_TY_POST_COMMANDS",
23039
+ "type": "array",
23040
+ "title": "PYTHON_TY: Post-run commands",
23041
+ "description": "PYTHON_TY: Define bash commands to run after running PYTHON_TY",
23042
+ "examples": [
23043
+ [
23044
+ {
23045
+ "command": "npm run test",
23046
+ "continue_if_failed": false,
23047
+ "cwd": "workspace"
23048
+ }
23049
+ ]
23050
+ ],
23051
+ "category": "PYTHON_TY",
23052
+ "section": "PREPOSTCOMMANDS"
23053
+ },
23054
+ "PYTHON_TY_PRE_COMMANDS": {
23055
+ "name": "PYTHON_TY_PRE_COMMANDS",
23056
+ "type": "array",
23057
+ "title": "PYTHON_TY: Pre-run commands",
23058
+ "description": "PYTHON_TY: Define bash commands to run before running PYTHON_TY",
23059
+ "examples": [
23060
+ [
23061
+ {
23062
+ "command": "tflint --init",
23063
+ "continue_if_failed": false,
23064
+ "cwd": "workspace"
23065
+ }
23066
+ ]
23067
+ ],
23068
+ "category": "PYTHON_TY",
23069
+ "section": "PREPOSTCOMMANDS"
23070
+ },
23071
+ "PYTHON_TY_RULES_PATH": {
23072
+ "name": "PYTHON_TY_RULES_PATH",
23073
+ "type": "string",
23074
+ "title": "PYTHON_TY: Custom config file path",
23075
+ "description": "PYTHON_TY: Path where to find linter configuration file",
23076
+ "category": "PYTHON_TY",
23077
+ "section": "LINTER_COMMAND"
23078
+ },
23079
+ "PYTHON_TY_TIMEOUT_SECONDS": {
23080
+ "name": "PYTHON_TY_TIMEOUT_SECONDS",
23081
+ "type": "integer",
23082
+ "title": "PYTHON_TY: Timeout in seconds",
23083
+ "description": "PYTHON_TY: Maximum duration in seconds of the PYTHON_TY run. When elapsed, the linter process and its child processes are killed and reported as an error (exit code 124). Overrides LINTER_TIMEOUT_SECONDS (default: 300). Set 0 to disable the timeout",
23084
+ "examples": [
23085
+ 3600,
23086
+ 0
23087
+ ],
23088
+ "category": "PYTHON_TY",
23089
+ "section": "GENERAL"
23090
+ },
23091
+ "PYTHON_TY_UNSECURED_ENV_VARIABLES": {
23092
+ "name": "PYTHON_TY_UNSECURED_ENV_VARIABLES",
23093
+ "type": "array",
23094
+ "title": "PYTHON_TY: Unsecured env variables",
23095
+ "description": "List of env variables explicitly not filtered before calling PYTHON_TY and its pre/post commands",
23096
+ "default": [],
23097
+ "category": "PYTHON_TY",
23098
+ "section": "SECURITY",
23099
+ "items_type": "string"
23100
+ },
22793
23101
  "RAKU_FILTER_REGEX_EXCLUDE": {
22794
23102
  "name": "RAKU_FILTER_REGEX_EXCLUDE",
22795
23103
  "type": [
@@ -29681,6 +29989,7 @@
29681
29989
  "PYTHON_PYRIGHT",
29682
29990
  "PYTHON_RUFF",
29683
29991
  "PYTHON_RUFF_FORMAT",
29992
+ "PYTHON_TY",
29684
29993
  "RAKU_RAKU",
29685
29994
  "REPOSITORY_BETTERLEAKS",
29686
29995
  "REPOSITORY_CHECKOV",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mega-linter-runner",
3
- "version": "10.2.0",
3
+ "version": "10.2.1-beta202611140942.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/oxsecurity/megalinter.git"