Skip to content

cmd: Apply format set in config file #2320

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

Merged
merged 1 commit into from
May 24, 2025
Merged

cmd: Apply format set in config file #2320

merged 1 commit into from
May 24, 2025

Conversation

wata727
Copy link
Member

@wata727 wata727 commented May 21, 2025

Fixes #2305

Due to a regression introduced by the parallel inspection added in v0.51, the format that can be set in the config file was always ignored.

This PR changes the inspectModule so that the format setting is set to the cli.formatter.Format after loading the config file. Note that this is intentionally not set with --recursive, as mentioned in the documentation.

@wata727 wata727 force-pushed the load_format_config branch from b2947c5 to 64561c3 Compare May 23, 2025 15:40
@wata727 wata727 marked this pull request as ready for review May 23, 2025 15:57
@wata727 wata727 merged commit 5905c9f into master May 24, 2025
19 checks passed
@wata727 wata727 deleted the load_format_config branch May 24, 2025 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

format in config files is ignored
2 participants