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

refactor: use trait object for progress bar wrappers #1182

Merged
merged 3 commits into from
Dec 14, 2023
Merged

Conversation

jdx
Copy link
Owner

@jdx jdx commented Dec 14, 2023

No description provided.

@jdx jdx enabled auto-merge (squash) December 14, 2023 11:37
Copy link

codecov bot commented Dec 14, 2023

Codecov Report

Attention: 73 lines in your changes are missing coverage. Please review.

Comparison is base (29d301d) 81.70% compared to head (81ec42d) 81.69%.

Files Patch % Lines
src/ui/progress_report.rs 64.36% 31 Missing ⚠️
src/plugins/core/ruby.rs 0.00% 12 Missing ⚠️
src/plugins/core/node_build.rs 0.00% 10 Missing ⚠️
src/plugins/core/python.rs 0.00% 9 Missing ⚠️
src/plugins/core/node.rs 72.22% 5 Missing ⚠️
src/cli/prune.rs 0.00% 3 Missing ⚠️
src/ui/multi_progress_report.rs 71.42% 2 Missing ⚠️
src/cli/uninstall.rs 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1182      +/-   ##
==========================================
- Coverage   81.70%   81.69%   -0.02%     
==========================================
  Files         136      136              
  Lines       12761    12787      +26     
==========================================
+ Hits        10427    10446      +19     
- Misses       2334     2341       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 5 0 0.12s
✅ BASH bash-exec 20 0 0.04s
✅ BASH shellcheck 20 0 0.48s
✅ BASH shfmt 20 0 0 0.04s
✅ DOCKERFILE hadolint 7 0 0.31s
✅ EDITORCONFIG editorconfig-checker 472 0 0.75s
✅ JSON eslint-plugin-jsonc 7 0 0 1.01s
✅ JSON jsonlint 6 0 0.12s
✅ JSON prettier 7 0 0 0.58s
✅ JSON v8r 7 0 3.97s
✅ MARKDOWN markdownlint 13 0 0 2.89s
✅ MARKDOWN markdown-link-check 13 0 11.65s
✅ MARKDOWN markdown-table-formatter 13 0 0 0.61s
✅ PYTHON bandit 1 0 0.63s
✅ PYTHON black 1 0 0 0.63s
✅ PYTHON flake8 1 0 0.28s
✅ PYTHON isort 1 0 0 0.25s
✅ PYTHON mypy 1 0 1.92s
✅ PYTHON pylint 1 0 1.32s
✅ PYTHON pyright 1 0 5.58s
✅ PYTHON ruff 1 0 0 0.04s
✅ REPOSITORY dustilock yes no 0.01s
✅ REPOSITORY gitleaks yes no 2.64s
✅ REPOSITORY git_diff yes no 0.03s
✅ REPOSITORY secretlint yes no 2.51s
✅ REPOSITORY syft yes no 0.77s
✅ REPOSITORY trivy-sbom yes no 0.93s
✅ REPOSITORY trufflehog yes no 4.8s
✅ RUBY rubocop 2 0 0 5.35s
✅ RUST clippy yes no 102.55s
✅ XML xmllint 5 0 0 0.04s
✅ YAML prettier 12 0 0 1.11s
✅ YAML v8r 12 0 12.49s
✅ YAML yamllint 12 0 0.46s

See detailed report in MegaLinter reports

You could have same capabilities but better runtime performances if you request a new MegaLinter flavor.

MegaLinter is graciously provided by OX Security

@jdx jdx merged commit 05968b8 into main Dec 14, 2023
6 of 8 checks passed
@jdx jdx deleted the refactor-progress branch December 14, 2023 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant