-
Notifications
You must be signed in to change notification settings - Fork 29
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
Black configuration is not used #73
Comments
Hmm, that's odd. I'll take a look next week. Notes for future self:
|
Ok @kpj I have a fix (I think) in mbhall88@9f3abcf One thing for future reference, it is better to use booleans There were two issues causing this bug:
Feel free to try out and see if you have any problems with it. |
Awesome, thanks for taking a look!
Makes sense, will do. We should also amend this in snakefmt's README.
If I try the above example again, I get the output |
Consider the following Snakefile:
And the following configuration file:
Then execute
snakefmt --compact-diff --config config.toml Snakefile
.I would expect the file to pass formatting without any modifications.
However, it says:
It seems like
black
does not know about the configuration parameters.Compare this to executing
black --diff --config config.toml test.py
wheretest.py
only contains'fubar'
.The output is (as expected)
All done! ✨ 🍰 ✨
.The text was updated successfully, but these errors were encountered: