botan icon indicating copy to clipboard operation
botan copied to clipboard

Format all Python code using ruff

Open randombit opened this issue 3 months ago • 3 comments

Currently this is compatible with both the default output of ruff and also black.

CI checking is omitted here, will add in a later PR.

randombit avatar Sep 06 '25 15:09 randombit

Coverage Status

coverage: 90.662% (-0.005%) from 90.667% when pulling 4eebbcbcee6a8474967f1d0845472b3b6de94303 on jack/format-python into ce0eeaec538bbc51354fce48a0a01bcaf9ff4344 on master.

coveralls avatar Sep 06 '25 16:09 coveralls

Also, before you merge this, could you take a look at #5095? This is going to cause quite the conflict :p

arckoor avatar Sep 07 '25 11:09 arckoor

@arckoor Thanks for the ping I didn't realize that PR was also modifying the Python lib but yeah let's get that landed first then the reformat.

randombit avatar Sep 07 '25 16:09 randombit