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

Automatically ignore unsupported command-line arguments #145

Merged
merged 1 commit into from
Jun 16, 2023

Conversation

charliermarsh
Copy link
Member

Closes #69.

Closes astral-sh/ruff-vscode#174.

@charliermarsh charliermarsh force-pushed the charlie/args branch 2 times, most recently from 1e62f5d to bda5435 Compare June 16, 2023 22:06
@charliermarsh charliermarsh merged commit 8e3df61 into main Jun 16, 2023
12 checks passed
@charliermarsh charliermarsh deleted the charlie/args branch June 16, 2023 22:09
Comment on lines +132 to +133
# "--stdin-filename",
# "--format",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@charliermarsh why are these commented out?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because they aren’t flags, they’re positional arguments, so they’re followed by another argument. I figured this wasn’t worth handling since they would error anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants