Open finswimmer opened 2 years ago
I was able to find a workaround. This problem seems to only appear if the [build-system]
is not at the end of the file. Once I moved it there it works as expected.
Thanks for the bug report! 🙏🏻
This problem seems to only appear if the
[build-system]
is not at the end of the file. Once I moved it there it works as expected.
This is super weird, it doesn't make much sense. 🤔
I will try to reproduce this bug soon-ish and get back to you after I do it.
I could reproduce the bug with your files, thanks!
This is odd. I still didn't debug it to find out what is the cause...
Hello,
I've prepared a style that should add the
readme
keyword to[tool.poetry]
in mypyproject.toml
and a config forblack
as well.Expected behavior
After running
nitpick fix
I expect thatreadme
keyword is added to[tool.poetry]
inpyproject.toml
[tool.black]
is added to thepyproject.toml
Current behavior
readme
keyword is added to[tool.poetry]
inpyproject.toml
[tool.black]
section is addedSteps to reproduce
This is how the project looks like:
pyproject.toml:
my-style.toml:
When running
nitpick fix
I receive this message:And this is how the
pyproject.toml
looks afterwards:As one can see
readme
is added as expected, but[tool.black]
is missingYour environment
nitpick
version used: 0.31.0fin swimmer