-
-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct spelling of containername
argument.
#1571
Conversation
🦙 MegaLinter status:
|
Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
---|---|---|---|---|---|
✅ BASH | bash-exec | 7 | 0 | 0.04s | |
✅ BASH | shellcheck | 7 | 0 | 0.3s | |
✅ BASH | shfmt | 7 | 0 | 0 | 0.28s |
✅ COPYPASTE | jscpd | yes | no | 2.47s | |
✅ DOCKERFILE | hadolint | 105 | 0 | 8.05s | |
✅ JSON | eslint-plugin-jsonc | 21 | 0 | 0 | 2.4s |
✅ JSON | jsonlint | 19 | 0 | 0.25s | |
✅ JSON | v8r | 21 | 0 | 18.26s | |
markdownlint | 294 | 0 | 5 | 6.53s | |
✅ MARKDOWN | markdown-link-check | 294 | 0 | 6.43s | |
✅ MARKDOWN | markdown-table-formatter | 294 | 0 | 0 | 8.03s |
✅ OPENAPI | spectral | 1 | 0 | 0.91s | |
bandit | 170 | 55 | 2.87s | ||
✅ PYTHON | black | 170 | 0 | 0 | 5.28s |
✅ PYTHON | flake8 | 170 | 0 | 2.41s | |
✅ PYTHON | isort | 170 | 0 | 0 | 0.69s |
✅ PYTHON | mypy | 170 | 0 | 7.8s | |
✅ PYTHON | pylint | 170 | 0 | 13.22s | |
pyright | 170 | 274 | 18.94s | ||
✅ REPOSITORY | checkov | yes | no | 32.61s | |
✅ REPOSITORY | git_diff | yes | no | 0.26s | |
✅ REPOSITORY | secretlint | yes | no | 10.58s | |
✅ REPOSITORY | trivy | yes | no | 24.29s | |
✅ SPELL | cspell | 706 | 0 | 21.28s | |
✅ SPELL | misspell | 533 | 0 | 0 | 0.85s |
✅ XML | xmllint | 3 | 0 | 0.0s | |
✅ YAML | prettier | 80 | 0 | 0 | 3.22s |
✅ YAML | v8r | 22 | 0 | 42.24s | |
✅ YAML | yamllint | 81 | 0 | 1.43s |
See errors details in artifact MegaLinter reports on CI Job page
🦙 MegaLinter status:
|
Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
---|---|---|---|---|---|
✅ BASH | bash-exec | 7 | 0 | 0.04s | |
✅ BASH | shellcheck | 7 | 0 | 0.27s | |
✅ BASH | shfmt | 7 | 0 | 0 | 0.03s |
✅ COPYPASTE | jscpd | yes | no | 1.96s | |
✅ DOCKERFILE | hadolint | 105 | 0 | 8.42s | |
✅ JSON | eslint-plugin-jsonc | 21 | 0 | 0 | 1.81s |
✅ JSON | jsonlint | 19 | 0 | 0.26s | |
✅ JSON | v8r | 21 | 0 | 15.77s | |
markdownlint | 294 | 2 | 5 | 4.95s | |
✅ MARKDOWN | markdown-link-check | 294 | 0 | 4.96s | |
✅ MARKDOWN | markdown-table-formatter | 294 | 2 | 0 | 5.38s |
✅ OPENAPI | spectral | 1 | 0 | 0.73s | |
bandit | 170 | 55 | 2.45s | ||
✅ PYTHON | black | 170 | 0 | 0 | 3.58s |
✅ PYTHON | flake8 | 170 | 0 | 2.18s | |
✅ PYTHON | isort | 170 | 0 | 0 | 0.4s |
✅ PYTHON | mypy | 170 | 0 | 6.98s | |
✅ PYTHON | pylint | 170 | 0 | 10.73s | |
pyright | 170 | 272 | 16.28s | ||
✅ REPOSITORY | checkov | yes | no | 25.96s | |
devskim | yes | 59 | 1.15s | ||
✅ REPOSITORY | dustilock | yes | no | 2.36s | |
✅ REPOSITORY | git_diff | yes | no | 0.04s | |
✅ REPOSITORY | secretlint | yes | no | 3.35s | |
✅ REPOSITORY | syft | yes | no | 2.0s | |
✅ REPOSITORY | trivy | yes | no | 17.43s | |
✅ SPELL | cspell | 706 | 0 | 16.04s | |
✅ SPELL | misspell | 533 | 2 | 0 | 0.41s |
✅ XML | xmllint | 3 | 0 | 0.0s | |
✅ YAML | prettier | 80 | 0 | 0 | 2.57s |
✅ YAML | v8r | 22 | 0 | 34.94s | |
✅ YAML | yamllint | 81 | 0 | 1.33s |
See errors details in artifact MegaLinter reports on CI Job page
You could have the same capabilities but better runtime performances if you use a MegaLinter flavor:
- oxsecurity/megalinter/flavors/python@v5 (56 linters)
8db0c79
to
e13ce37
Compare
@Kurt-von-Laven this would be a breaking change for people using containername argument :/ |
Is it worth doing in v7? I think the current unconventional spelling may cause some frustration for users who aren't yet using it. I understandably got push back from the CSpell maintainer when I proposed adding |
Let's have a stable v6 before thinking about v7 haha ^^ |
This pull request has been automatically marked as stale because it has not had recent activity. If you think this pull request should stay open, please remove the |
This pull request has been automatically marked as stale because it has not had recent activity. If you think this pull request should stay open, please remove the |
91321bc
to
7331c31
Compare
Codecov Report
@@ Coverage Diff @@
## main #1571 +/- ##
==========================================
+ Coverage 82.68% 82.71% +0.02%
==========================================
Files 157 157
Lines 3384 3384
==========================================
+ Hits 2798 2799 +1
+ Misses 586 585 -1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
7331c31
to
3a9c9ef
Compare
3a9c9ef
to
7b4ce86
Compare
Spell the new mega-linter-runner argument container-name for consistency with the package name, mega-linter-runner, and to spare users from needing to add containername as a CSpell exception. Continue to accept containername for backwards compatibility.
7b4ce86
to
8c2c728
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great :)
Fixes #1570.
Proposed Changes
container-name
for consistency with the package name, mega-linter-runner, and to spare users from needing to addcontainername
as a CSpell exception.containername
to prove that no references were missed and as a regression test.--containername
to not work #1561.Readiness Checklist
Author/Contributor
Reviewing Maintainer
breaking
if this is a large fundamental changeautomation
,bug
,documentation
,enhancement
,infrastructure
, orperformance