We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5b63ad commit 14b00fbCopy full SHA for 14b00fb
pyproject.toml
@@ -53,6 +53,11 @@ select = [
53
"W", # pycodestyle Warning
54
# Only include flake8-annotations rules that are autofixable. Otherwise leave this to mypy+pyright
55
"ANN2",
56
+ # Don't include TC rules that create a TYPE_CHECKING block or stringifies annotations
57
+ "TC004", # Move import `{qualified_name}` out of type-checking block. Import is used for more than type hinting.
58
+ "TC005", # Found empty type-checking block
59
+ # "TC008", # TODO: Enable when out of preview
60
+ "TC010", # Invalid string member in `X | Y`-style union type
61
# Most refurb rules are in preview and can be opinionated,
62
# consider them individually as they come out of preview (last check: 0.8.4)
63
"FURB105", # Unnecessary empty string passed to `print`
0 commit comments