Ville Skyttä

Results 373 comments of Ville Skyttä

A middle ground could be worth considering as well: let the default completion generate the help section in the usage output, but avoid them being offered as completions. Guess that...

As mentioned in a couple of comments here and in #1450, #1450 is an alternative implementation. It will replace this one if the approach in it is chosen, and vice...

Let me know if you find this desirable, I could implement at least some of it.

Thanks for considering! Mentioning only `max_line_length` was my mistake, that's what I was most interested in. To determine what settings cola supports I took a look at the all/current repository...

I think a check that verifies that files decode without errors in strict mode with the given encoding supported by Python would be useful to have on its own, not...

check-encoding done in https://github.com/pre-commit/pre-commit-hooks/pull/685

Re check-encoding, no other thoughts besides repeating myself: I think such an encoding checker is useful on its own completely irrespective of this issue (I know I've missed one myself...

This test is not limited to programming languages.

> I write plenty of code that's all ASCII, but I also write code that uses non-ASCII characters. How would such a check help me? As said above, "I'm not...

Don't know if I'm too happy with the platform dependent default, perhaps defaulting to utf-8 would be better. No strong opinions between those.