astral-sh/ruff

autofix for flake8-use-pathlib (PTH) rules

Open

#2,331 创建于 2023年1月29日

在 GitHub 查看
 (17 评论) (5 反应) (0 负责人)Rust (2,088 fork)batch import
fixeshelp wanted

仓库指标

Star
 (47,527 star)
PR 合并指标
 (平均合并 3天 8小时) (30 天内合并 573 个 PR)

描述

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.

贡献者指南