-
-
Notifications
You must be signed in to change notification settings - Fork 246
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
PYTHON_RUFF_FORMAT #4329
PYTHON_RUFF_FORMAT #4329
Conversation
Fixes #3295
🦙 MegaLinter status:
|
Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
---|---|---|---|---|---|
✅ API | spectral | 1 | 0 | 1.68s | |
bash-exec | 6 | 1 | 0.02s | ||
✅ BASH | shellcheck | 6 | 0 | 0.2s | |
✅ BASH | shfmt | 6 | 0 | 0 | 0.7s |
✅ COPYPASTE | jscpd | yes | no | 3.94s | |
✅ DOCKERFILE | hadolint | 129 | 0 | 23.4s | |
✅ JSON | jsonlint | 20 | 0 | 0.41s | |
✅ JSON | v8r | 22 | 0 | 12.91s | |
markdownlint | 266 | 0 | 299 | 24.62s | |
✅ MARKDOWN | markdown-table-formatter | 266 | 0 | 0 | 172.96s |
bandit | 214 | 66 | 3.07s | ||
✅ PYTHON | black | 214 | 0 | 0 | 4.89s |
✅ PYTHON | flake8 | 214 | 0 | 2.15s | |
✅ PYTHON | isort | 214 | 0 | 0 | 1.34s |
✅ PYTHON | mypy | 214 | 0 | 15.81s | |
✅ PYTHON | pylint | 214 | 0 | 31.87s | |
✅ PYTHON | ruff | 214 | 0 | 0 | 0.49s |
✅ REPOSITORY | checkov | yes | no | 35.62s | |
✅ REPOSITORY | git_diff | yes | no | 0.82s | |
grype | yes | 26 | 14.73s | ||
✅ REPOSITORY | secretlint | yes | no | 11.85s | |
✅ REPOSITORY | trivy | yes | no | 15.63s | |
✅ REPOSITORY | trivy-sbom | yes | no | 0.28s | |
trufflehog | yes | 1 | 53.86s | ||
✅ SPELL | cspell | 716 | 0 | 13.98s | |
lychee | 348 | 13 | 15.3s | ||
✅ XML | xmllint | 3 | 0 | 0 | 0.9s |
✅ YAML | prettier | 160 | 0 | 0 | 4.97s |
✅ YAML | v8r | 102 | 0 | 29.83s | |
✅ YAML | yamllint | 161 | 0 | 2.7s |
See detailed report in MegaLinter reports
How did you plan on communicating the changes? As having it enabled will causes changes that black wants to contradict (on one of my repos I tried this year). There isn't a format that satisfies both at the same time. What would be our default config? |
@echoix good remark ! :): I think it would be disabled by default, and could be activated using some variable like PYTHON_DEFAULT_STYLE, like we do for JAVASCRIPT_DEFAULT_STYLE |
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 |
31e6600
to
8c7481d
Compare
Fixes #3295