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 [linter]_args option #11

Closed
samuelmeuli opened this issue Jan 7, 2020 · 3 comments
Closed

Add [linter]_args option #11

samuelmeuli opened this issue Jan 7, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@samuelmeuli
Copy link
Collaborator

This option could allow users to pass additional command-line arguments to the linting command. E.g. useful if users want GitHub checks to fail if there are warnings (see #10).

@samuelmeuli samuelmeuli added the enhancement New feature or request label Jan 7, 2020
@samuelmeuli samuelmeuli self-assigned this Jan 7, 2020
@nocalla
Copy link

nocalla commented Jan 7, 2020

Would this also allow configuration of linters? E.g. adding a line-length argument to black?

@samuelmeuli
Copy link
Collaborator Author

Yes, but I think it's better to use a configuration file instead. That way, your options are applied both in CI and when runnung Black locally.

@nocalla
Copy link

nocalla commented Jan 8, 2020

Good point.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants