6 ms·
If I'm understanding your problem correctly, it seems that you can avoid it by using the --skip-magic-trailing-comma option [0]. [0] https://black.readthedocs.
by flightlevel180 5y ago
If I'm understanding your problem correctly, it seems that you can avoid it by using the --skip-magic-trailing-comma option [0].
[0] https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#the-magic-trailing-comma https://black.readthedocs.io/en/stable/the_black_code_style/...
- wodenokoto 5y agoYes, but wasn’t the whole point not having to run the linter with options. The trailing comma thing seems inconsistent with handing over the formatting to black. Now I’m in charge of deciding if a list should be cleaned up into one line or not.