Skip to content

Commit c73d5b8

Browse files
authored
Explicitly disable unused pyright rules (#15)
1 parent ae44291 commit c73d5b8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pyproject.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
max-args=10
101101

102102
[tool.pyright]
103-
# Includes all rules in strict mode, with some set to warning
103+
# All rules apart from base are shown explicitly below
104104
deprecateTypingAliases=true
105105
disableBytesTypePromotions=true
106106
include=["sparse_autoencoder"]
@@ -119,8 +119,8 @@
119119
reportInvalidTypeVarUse=true
120120
reportMatchNotExhaustive=true
121121
reportMissingParameterType=true
122-
reportMissingTypeArgument="warning"
123-
reportMissingTypeStubs="warning"
122+
reportMissingTypeArgument=false
123+
reportMissingTypeStubs=false
124124
reportOptionalCall=true
125125
reportOptionalContextManager=true
126126
reportOptionalIterable=true
@@ -134,11 +134,11 @@
134134
reportTypeCommentUsage=true
135135
reportTypedDictNotRequiredAccess=true
136136
reportUnboundVariable=true
137-
reportUnknownArgumentType="warning"
137+
reportUnknownArgumentType=false
138138
reportUnknownLambdaType=true
139-
reportUnknownMemberType="warning"
140-
reportUnknownParameterType="warning"
141-
reportUnknownVariableType="warning"
139+
reportUnknownMemberType=false
140+
reportUnknownParameterType=false
141+
reportUnknownVariableType=false
142142
reportUnnecessaryCast=true
143143
reportUnnecessaryComparison=true
144144
reportUnnecessaryContains=true

0 commit comments

Comments
 (0)