Skip to content

Commit

Permalink
[MegaLinter] Apply linters fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bdovaz committed May 14, 2023
1 parent 2658829 commit 21a6b61
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .automation/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ def generate_documentation():
+ "and **ready to use out of the box**, as a GitHub action or any CI system "
+ "**highly configurable** and **free for all uses**.\n\n"
+ "[**Upgrade to MegaLinter v7 !**]"
+ "https://github.com/oxsecurity/megalinter/issues/2608" #TODOV7: Replace link
+ "https://github.com/oxsecurity/megalinter/issues/2608" # TODOV7: Replace link
)
# Update README.md file
replace_in_file(
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ MegaLinter is an **Open-Source** tool for **CI/CD workflows** that analyzes the

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**.

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

<!-- online-doc-start -->
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/xml_xmllint.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ To apply file formatting you must set `XML_XMLLINT_CLI_LINT_MODE: file` and `XML
| Variable | Description | Default value |
|-----------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------|
| XML_XMLLINT_AUTOFORMAT | If set to `true`, it will reformat and reindent the output | `false` |
| XML_XMLLINT_INDENT | The number of indentation spaces when `XML_XMLLINT_AUTOFORMAT` is `true` | ` ` |
| XML_XMLLINT_INDENT | The number of indentation spaces when `XML_XMLLINT_AUTOFORMAT` is `true` | `` |
| XML_XMLLINT_ARGUMENTS | User custom arguments to add in linter CLI call<br/>Ex: `-s --foo "bar"` | |
| XML_XMLLINT_FILTER_REGEX_INCLUDE | Custom regex including filter<br/>Ex: `(src\|lib)` | Include every file |
| XML_XMLLINT_FILTER_REGEX_EXCLUDE | Custom regex excluding filter<br/>Ex: `(test\|examples)` | Exclude no file |
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ MegaLinter is an **Open-Source** tool for **CI/CD workflows** that analyzes the

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**.

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

<!-- online-doc-start -->
Expand Down
4 changes: 3 additions & 1 deletion megalinter/utils_reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ def build_markdown_summary(reporter_self, action_run_url):
)
for suggestion in reporter_self.master.flavor_suggestions:
build_version = config.get(None, "BUILD_VERSION", DEFAULT_RELEASE)
action_version = DEFAULT_RELEASE if len(build_version) > 20 else build_version
action_version = (
DEFAULT_RELEASE if len(build_version) > 20 else build_version
)
action_path = (
f"{ML_REPO}/flavors/{suggestion['flavor']}@{action_version}"
)
Expand Down

0 comments on commit 21a6b61

Please sign in to comment.