-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
Use relative file paths to call linters #1877
Conversation
cae0336
to
62d1ae5
Compare
🦙 MegaLinter status:
|
Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
---|---|---|---|---|---|
✅ BASH | bash-exec | 6 | 0 | 0.02s | |
✅ BASH | shellcheck | 6 | 0 | 0.17s | |
✅ BASH | shfmt | 6 | 0 | 0 | 0.45s |
✅ COPYPASTE | jscpd | yes | no | 3.93s | |
✅ DOCKERFILE | hadolint | 117 | 0 | 24.37s | |
✅ JSON | eslint-plugin-jsonc | 23 | 0 | 0 | 3.13s |
✅ JSON | jsonlint | 21 | 0 | 0.27s | |
✅ JSON | v8r | 23 | 0 | 18.03s | |
markdownlint | 313 | 0 | 232 | 8.8s | |
✅ MARKDOWN | markdown-link-check | 313 | 0 | 6.76s | |
✅ MARKDOWN | markdown-table-formatter | 313 | 0 | 0 | 24.79s |
✅ OPENAPI | spectral | 1 | 0 | 1.86s | |
bandit | 188 | 57 | 2.77s | ||
✅ PYTHON | black | 188 | 0 | 0 | 6.03s |
✅ PYTHON | flake8 | 188 | 0 | 2.41s | |
✅ PYTHON | isort | 188 | 0 | 0 | 1.02s |
✅ PYTHON | mypy | 188 | 0 | 10.68s | |
✅ PYTHON | pylint | 188 | 0 | 17.23s | |
pyright | 188 | 251 | 21.73s | ||
✅ PYTHON | ruff | 188 | 0 | 0 | 0.6s |
✅ REPOSITORY | checkov | yes | no | 44.77s | |
✅ REPOSITORY | git_diff | yes | no | 0.47s | |
✅ REPOSITORY | secretlint | yes | no | 23.02s | |
✅ REPOSITORY | trivy | yes | no | 36.57s | |
✅ SPELL | cspell | 629 | 0 | 34.76s | |
vale | 222 | 59 | 48.89s | ||
✅ XML | xmllint | 3 | 0 | 0 | 0.45s |
✅ YAML | prettier | 157 | 0 | 0 | 6.68s |
✅ YAML | v8r | 99 | 0 | 178.99s | |
✅ YAML | yamllint | 158 | 0 | 1.97s |
See detailed report in MegaLinter reports
2e42335
to
c606901
Compare
7cfc3a3
to
216dbc0
Compare
File filtering management with relative paths Fix workspace Manage relative paths of files in sub directories mypy fix Manage file_sub_directory with relative files [MegaLinter] Apply linters fixes Temporary increase timeout of build dev job Fix filter test classes Add test case file temp disable test sarif output quick build flake8 fix [MegaLinter] Apply linters fixes
216dbc0
to
b3ef6ab
Compare
How is it going? What is blocking it? |
@bdovaz memory crash within the docker image... really hard to debug :/ |
🦙 MegaLinter status:
|
Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
---|---|---|---|---|---|
✅ BASH | bash-exec | 6 | 0 | 0.01s | |
✅ BASH | shellcheck | 6 | 0 | 0.13s | |
✅ BASH | shfmt | 6 | 0 | 0 | 0.04s |
✅ COPYPASTE | jscpd | yes | no | 2.63s | |
✅ DOCKERFILE | hadolint | 117 | 0 | 14.49s | |
✅ JSON | eslint-plugin-jsonc | 23 | 0 | 0 | 1.67s |
✅ JSON | jsonlint | 21 | 0 | 0.18s | |
✅ JSON | npm-package-json-lint | yes | no | 0.6s | |
✅ JSON | v8r | 23 | 0 | 15.49s | |
markdownlint | 313 | 2 | 232 | 5.66s | |
✅ MARKDOWN | markdown-link-check | 313 | 0 | 5.36s | |
✅ MARKDOWN | markdown-table-formatter | 313 | 2 | 0 | 17.2s |
✅ OPENAPI | spectral | 1 | 0 | 1.26s | |
bandit | 188 | 57 | 2.07s | ||
✅ PYTHON | black | 188 | 0 | 0 | 3.75s |
✅ PYTHON | flake8 | 188 | 0 | 1.8s | |
✅ PYTHON | isort | 188 | 0 | 0 | 0.45s |
✅ PYTHON | mypy | 188 | 0 | 7.6s | |
✅ PYTHON | pylint | 188 | 0 | 11.27s | |
pyright | 188 | 251 | 15.13s | ||
✅ PYTHON | ruff | 188 | 0 | 0 | 0.1s |
✅ REPOSITORY | checkov | yes | no | 30.76s | |
devskim | yes | 1145 | 4.93s | ||
✅ REPOSITORY | dustilock | yes | no | 1.97s | |
✅ REPOSITORY | git_diff | yes | no | 0.04s | |
✅ REPOSITORY | secretlint | yes | no | 12.24s | |
✅ REPOSITORY | syft | yes | no | 1.11s | |
✅ REPOSITORY | trivy | yes | no | 24.51s | |
✅ SPELL | cspell | 629 | 0 | 21.27s | |
vale | 222 | 59 | 34.42s | ||
✅ XML | xmllint | 3 | 0 | 0 | 0.03s |
✅ YAML | prettier | 157 | 0 | 0 | 4.11s |
✅ YAML | v8r | 99 | 0 | 125.75s | |
✅ YAML | yamllint | 158 | 0 | 1.58s |
See detailed report in MegaLinter reports
You could have same capabilities but better runtime performances if you request a new MegaLinter flavor.
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 |
@nvuillam can you make a rebase? To at least check from time to time if this problem has been solved. I would do it myself but I have doubts with |
@bdovaz done :) |
@nvuillam Is it just me or seeing the result of the jobs, the random error that occurred no longer exists? |
The error was not random... it was always and hard to diagnose its source ^^ |
Not crashing indeed ! |
/build
|
@bdovaz I have a good feeling about this one... :D :D |
@bdovaz @echoix @Kurt-von-Laven Now I'm kind a afraid to release a new version... this PR is potentially very impacting, if you have some time please use beta versions in your repos to make sure that it still works well with relative files :) ( I'll obviously do the same on my side ^^ ) |
You could release a RC in the weekend and look at the number of pulls the following week to make sure that there was enough pulls. |
Thanks for the heads up, @nvuillam. I tried the
|
If it makes you feel any better, passing relative file paths fixed the error originally reported in #1572, getting ESLint running in |
@Kurt-von-Laven I'm trying to fix that in #2601 ... the idea is the following:
Do you think it could work ? ^^ |
Fixes #1875