Skip to content

Commit b230a59

Browse files
committed
🔧 remove redundant mypy and pyright constant definitions
1 parent e006dec commit b230a59

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

‎pyproject.toml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ disallow_any_decorated = false
104104
disallow_any_explicit = false
105105
disallow_any_expr = false
106106
disallow_subclassing_any = false
107-
# optype.numpy compat
108-
always_true = ["NP125", "NP126", "NP20", "NP21", "NP22", "NP23"]
109107

110108
[tool.pyright]
111109
exclude = [
@@ -153,15 +151,6 @@ reportInvalidStubStatement = false
153151
reportUnusedCallResult = false
154152
reportUnusedExpression = false
155153

156-
[tool.pyright.defineConstant]
157-
# optype.numpy compat
158-
NP125 = true
159-
NP126 = true
160-
NP20 = true
161-
NP21 = true
162-
NP22 = true
163-
NP23 = true
164-
165154
[tool.repo-review]
166155
ignore = [
167156
"PY004", # no /docs

0 commit comments

Comments
 (0)