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 (47,527 stars) (2,088 forks)batch import
fixeshelp wanted

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

autofix for flake8-use-pathlib (PTH) rules · astral-sh/ruff#2331 | Good First Issue