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

Add --config argument to CLI #111

Open
DavisVaughan opened this issue Dec 16, 2024 · 0 comments
Open

Add --config argument to CLI #111

DavisVaughan opened this issue Dec 16, 2024 · 0 comments

Comments

@DavisVaughan
Copy link
Collaborator

Consider the ruff/cargo approach of --config for overriding configuration settings rather than shoving them all in the command line api.

Their thought process is that you should not be setting things like --indent-width at the cli most of the time, that prevents you and your colleagues from having identical formatting experiences. Instead you should rely on the presence of an air.toml to hold the configuration details. But sometimes it is still useful to override this.

https://docs.astral.sh/ruff/configuration/#the-config-cli-flag

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

No branches or pull requests

1 participant