python-blosc2 icon indicating copy to clipboard operation
python-blosc2 copied to clipboard

Apply assorted ruff rules

Open DimitriPapadopoulos opened this issue 1 year ago • 2 comments

DimitriPapadopoulos avatar Sep 25 '24 08:09 DimitriPapadopoulos

I have left the default value "double" of the quote-style setting of the ruff formatter. The reason is that the whole code base uses double quotes except for a few occurrences of simple quotes. The rationale is consistency.

I can change to "preserve" if you'd rather the formatter not mess with the quote style.

DimitriPapadopoulos avatar Sep 27 '24 14:09 DimitriPapadopoulos

I still need to fix Python wheels / Build sdist.

DimitriPapadopoulos avatar Sep 27 '24 14:09 DimitriPapadopoulos

Ok. I merged this. Yeah, is not easy to deal with the quote ambiguity in Python. Your suggested approach seems sensible to me. Thanks!

FrancescAlted avatar Sep 30 '24 05:09 FrancescAlted