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
Allow setting the location of pyproject.toml
file
#9
Comments
I'm curious, could you point me at a couple of projects using How would you see this working from Also note that currently |
Proposal from discussion on #10 with @098799: Add an optional flake8 setting for the plugin (i.e. in file e.g. Something like this (not sure about the best key name to use here, suggestions?): [flake8]
flake8-black-config = /mnt/shared/config/black.toml This would be like using |
In discussion on #11, I think rather than
|
Closed by #11, this will be in release v0.1.1 |
Is it useful to be able to explicit say run e.g.
Instead, I am considering e.g.
|
What's your use case for that? I assume that this would be ran only in projects with |
On a large project you might aspire to follow default black, but have to work towards this gradually. It occurs to me another way someone might expect to do this would be to piggy-back on the |
TBH sounds like just about right amount of magic to me :) (as long as it's properly documented) We should be able to smuggle that in from |
We should be able to, much like how earlier iterations of this plugin accessed the max-line-length setting. |
It would be great to be able to specify the location of the
pyproject.toml
file for more advanced setups.black
currently allows setting the location of thepyproject.toml
file with the--config
option.The text was updated successfully, but these errors were encountered: