astral-sh/ruff

autofix for flake8-use-pathlib (PTH) rules

Open

#2,331 opened on 2023年1月29日

GitHub で見る
 (17 comments) (5 reactions) (0 assignees)Rust (2,088 forks)batch import
fixeshelp wanted

Repository metrics

Stars
 (47,527 stars)
PR merge metrics
 (平均マージ 3d 8h) (30d で 573 merged PRs)

説明

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.

コントリビューターガイド