Skip to content

Commit cf9732a

Browse files
bdovazmegalinter-bot
authored andcommitted
[MegaLinter] Apply linters fixes
1 parent a4dfca6 commit cf9732a

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

.automation/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ def generate_documentation():
789789
+ "and **ready to use out of the box**, as a GitHub action or any CI system "
790790
+ "**highly configurable** and **free for all uses**.\n\n"
791791
+ "[**Upgrade to MegaLinter v7 !**]"
792-
+ "https://github.com/oxsecurity/megalinter/issues/2608" #TODOV7: Replace link
792+
+ "https://github.com/oxsecurity/megalinter/issues/2608" # TODOV7: Replace link
793793
)
794794
# Update README.md file
795795
replace_in_file(

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ MegaLinter is an **Open-Source** tool for **CI/CD workflows** that analyzes the
3636

3737
Supporting [**55** languages](#languages), [**24** formats](#formats), [**21** tooling formats](#tooling-formats) and **ready to use out of the box**, as a GitHub action or any CI system **highly configurable** and **free for all uses**.
3838

39-
[**Upgrade to MegaLinter v7 !**]https://github.com/oxsecurity/megalinter/issues/2608
39+
[**Upgrade to MegaLinter v7 !**]<https://github.com/oxsecurity/megalinter/issues/2608>
4040
<!-- welcome-phrase-end -->
4141

4242
<!-- online-doc-start -->

docs/descriptors/xml_xmllint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ To apply file formatting you must set `XML_XMLLINT_CLI_LINT_MODE: file` and `XML
2525
| Variable | Description | Default value |
2626
|-----------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------|
2727
| XML_XMLLINT_AUTOFORMAT | If set to `true`, it will reformat and reindent the output | `false` |
28-
| XML_XMLLINT_INDENT | The number of indentation spaces when `XML_XMLLINT_AUTOFORMAT` is `true` | ` ` |
28+
| XML_XMLLINT_INDENT | The number of indentation spaces when `XML_XMLLINT_AUTOFORMAT` is `true` | `` |
2929
| XML_XMLLINT_ARGUMENTS | User custom arguments to add in linter CLI call<br/>Ex: `-s --foo "bar"` | |
3030
| XML_XMLLINT_FILTER_REGEX_INCLUDE | Custom regex including filter<br/>Ex: `(src\|lib)` | Include every file |
3131
| XML_XMLLINT_FILTER_REGEX_EXCLUDE | Custom regex excluding filter<br/>Ex: `(test\|examples)` | Exclude no file |

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ MegaLinter is an **Open-Source** tool for **CI/CD workflows** that analyzes the
3030

3131
Supporting [**55** languages](supported-linters.md#languages), [**24** formats](supported-linters.md#formats), [**21** tooling formats](supported-linters.md#tooling-formats) and **ready to use out of the box**, as a GitHub action or any CI system **highly configurable** and **free for all uses**.
3232

33-
[**Upgrade to MegaLinter v7 !**]https://github.com/oxsecurity/megalinter/issues/2608
33+
[**Upgrade to MegaLinter v7 !**]<https://github.com/oxsecurity/megalinter/issues/2608>
3434
<!-- welcome-phrase-end -->
3535

3636
<!-- online-doc-start -->

megalinter/utils_reporter.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ def build_markdown_summary(reporter_self, action_run_url):
126126
)
127127
for suggestion in reporter_self.master.flavor_suggestions:
128128
build_version = config.get(None, "BUILD_VERSION", DEFAULT_RELEASE)
129-
action_version = DEFAULT_RELEASE if len(build_version) > 20 else build_version
129+
action_version = (
130+
DEFAULT_RELEASE if len(build_version) > 20 else build_version
131+
)
130132
action_path = (
131133
f"{ML_REPO}/flavors/{suggestion['flavor']}@{action_version}"
132134
)

0 commit comments

Comments
 (0)