Skip to content

autofix for TCH (flake8-type-checking) rules #2329

@LefterisJP

Description

@LefterisJP

I enabled the TCH rules to see what it suggests and finds in rotki's codebase. I got about ~700 hits.

They don't seem like bad suggestions. I .. ehm ... just don't want to do it manually and without knowing the internals of ruff well I can imagine all TCH rules should be autofixable.

Metadata

Metadata

Assignees

Labels

fixesRelated to suggested fixes for violations

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions