Skip to content
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

[automation] Auto-update linters version, help and documentation #1597

Merged
merged 32 commits into from
Jul 14, 2022

Conversation

nvuillam
Copy link
Member

@nvuillam nvuillam commented Jul 12, 2022

[automation] Auto-update linters version, help and documentation

  • Fix count of errors when using SARIF reporter
  • DevSkim: Ignore megalinter-reports by default (#1603)
  • Load JSON when list of objects is defined in an ENV var (#1605)
  • AutoFix pre_commands using npm install (1258)

@nvuillam nvuillam added automerge dependencies Pull requests that update a dependency file labels Jul 12, 2022
@nvuillam
Copy link
Member Author

nvuillam commented Jul 12, 2022

MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
✅ BASH bash-exec 7 0 0.02s
✅ BASH shellcheck 7 0 0.31s
✅ BASH shfmt 7 0 0 0.28s
✅ COPYPASTE jscpd yes no 2.56s
✅ DOCKERFILE hadolint 102 0 21.57s
✅ JSON eslint-plugin-jsonc 20 0 0 2.59s
✅ JSON jsonlint 18 0 4.74s
✅ JSON v8r 20 0 12.53s
✅ MARKDOWN markdownlint 276 0 0 6.54s
✅ MARKDOWN markdown-link-check 276 0 5.26s
✅ MARKDOWN markdown-table-formatter 276 0 0 6.46s
✅ OPENAPI spectral 1 0 0.96s
⚠️ PYTHON bandit 161 49 2.47s
✅ PYTHON black 161 0 0 3.91s
✅ PYTHON flake8 161 0 2.93s
✅ PYTHON isort 161 0 0 0.65s
✅ PYTHON mypy 161 0 118.79s
✅ PYTHON pylint 161 0 18.17s
✅ REPOSITORY git_diff yes no 0.25s
✅ REPOSITORY secretlint yes no 11.04s
⚠️ REPOSITORY semgrep yes 422 59.64s
✅ REPOSITORY trivy yes no 27.66s
✅ SPELL cspell 860 0 30.08s
✅ SPELL misspell 695 0 0 0.79s
✅ XML xmllint 3 0 0.01s
✅ YAML prettier 78 0 0 3.48s
✅ YAML v8r 22 0 28.06s
✅ YAML yamllint 79 0 1.32s

See errors details in artifact MegaLinter reports on CI Job page

@nvuillam
Copy link
Member Author

nvuillam commented Jul 12, 2022

MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
✅ BASH bash-exec 7 0 0.01s
✅ BASH shellcheck 7 0 0.28s
✅ BASH shfmt 7 0 0 0.04s
✅ COPYPASTE jscpd yes no 2.06s
✅ DOCKERFILE hadolint 102 0 18.21s
✅ JSON eslint-plugin-jsonc 20 0 0 2.02s
✅ JSON jsonlint 18 0 4.79s
✅ JSON v8r 20 0 10.69s
✅ MARKDOWN markdownlint 276 2 0 5.77s
✅ MARKDOWN markdown-link-check 276 0 5.27s
✅ MARKDOWN markdown-table-formatter 276 2 0 7.02s
✅ OPENAPI spectral 1 0 0.92s
⚠️ PYTHON bandit 161 49 2.22s
✅ PYTHON black 161 0 0 2.92s
✅ PYTHON flake8 161 0 2.4s
✅ PYTHON isort 161 0 0 0.37s
✅ PYTHON mypy 161 0 104.87s
✅ PYTHON pylint 161 0 17.93s
⚠️ REPOSITORY devskim yes 142 1.45s
✅ REPOSITORY dustilock yes no 1.58s
✅ REPOSITORY git_diff yes no 0.03s
✅ REPOSITORY secretlint yes no 4.7s
⚠️ REPOSITORY semgrep yes 422 60.12s
✅ REPOSITORY syft yes no 2.04s
✅ REPOSITORY trivy yes no 15.71s
✅ SPELL cspell 860 0 23.16s
✅ SPELL misspell 695 2 0 0.42s
✅ XML xmllint 3 0 0.0s
✅ YAML prettier 78 0 0 3.03s
✅ YAML v8r 22 0 28.09s
✅ YAML yamllint 79 0 1.17s

See errors details in artifact MegaLinter reports on CI Job page

@codecov-commenter
Copy link

codecov-commenter commented Jul 12, 2022

Codecov Report

Merging #1597 (44fae45) into main (6eee7ab) will decrease coverage by 0.36%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1597      +/-   ##
==========================================
- Coverage   84.55%   84.18%   -0.37%     
==========================================
  Files         145      156      +11     
  Lines        3560     4029     +469     
==========================================
+ Hits         3010     3392     +382     
- Misses        550      637      +87     
Impacted Files Coverage Δ
megalinter/linter_factory.py 86.84% <0.00%> (-8.75%) ⬇️
megalinter/reporters/GithubStatusReporter.py 34.78% <0.00%> (-6.53%) ⬇️
megalinter/MegaLinter.py 83.37% <0.00%> (-4.64%) ⬇️
megalinter/flavor_factory.py 78.26% <0.00%> (-2.05%) ⬇️
megalinter/config.py 90.99% <0.00%> (-1.39%) ⬇️
megalinter/alpaca.py 85.71% <0.00%> (ø)
megalinter/constants.py 100.00% <0.00%> (ø)
megalinter/utils_reporter.py 16.12% <0.00%> (ø)
megalinter/linters/RLinter.py 80.00% <0.00%> (ø)
megalinter/linters/GroovyNpmGroovyLintLinter.py 100.00% <0.00%> (ø)
... and 32 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 93707a0...44fae45. Read the comment docs.

@nvuillam nvuillam merged commit 87c9fc9 into main Jul 14, 2022
@nvuillam nvuillam deleted the create-pull-request/patch branch July 14, 2022 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants