astral-sh/ruff

autofix for flake8-use-pathlib (PTH) rules

Open

#2331 aperta il 29 gen 2023

Vedi su GitHub
 (17 commenti) (5 reazioni) (0 assegnatari)Rust (2088 fork)batch import
fixeshelp wanted

Metriche repository

Star
 (47.527 star)
Metriche merge PR
 (Merge medio 3g 8h) (573 PR mergiate in 30 g)

Descrizione

I enabled PTH rules and there was a few hits in rotki's codebase.

This is a rule I woud like to enforce but there is quite many places it hit and I suppose at least some of the rules should be autofixable. So if possible it would be cool to have ruff do it for us.

Guida contributor