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

Skip formatters when sampling issues during init #1474

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

marschattha
Copy link
Member

@marschattha marschattha commented Feb 4, 2025

Right now we also run formatters during qlty init if user approves of sampling issues, which then prompts user to format files which can happen in a loop and often be confusing during initialization for a user.

I think the only way to avoid that is to skip running formatters at this stage.

@marschattha marschattha requested a review from brynary February 4, 2025 19:58
Copy link
Contributor

qltysh bot commented Feb 4, 2025

Diff Coverage: The code coverage on the diff in this pull request is 0.0%.

Total Coverage: This PR will not change total coverage.

File Coverage Changes
Path File Coverage Δ Indirect
qlty-cli/src/commands/init.rs -0.1
qlty-config/src/library.rs 0.5
🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

@marschattha marschattha merged commit e2dbf04 into main Feb 4, 2025
8 checks passed
@marschattha marschattha deleted the ma/simplify_init_by_skipping_formatters branch February 4, 2025 20:06
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.

2 participants