astral-sh/ruff

autofix for flake8-use-pathlib (PTH) rules

Open

#2,331 opened on Jan 29, 2023

View on GitHub
 (17 comments) (5 reactions) (0 assignees)Rust (2,088 forks)batch import
fixeshelp wanted

Repository metrics

Stars
 (47,527 stars)
PR merge metrics
 (Avg merge 3d 8h) (573 merged PRs in 30d)

Description

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.

Contributor guide