Skip to content

Commit e482bc3

Browse files
committed
config(mypy): allow untyped decorators in db.executor
The tenacity @Retry decorator lacks type stubs, causing mypy to report untyped-decorator errors in CI where only minimal type stubs are installed.
1 parent 3230265 commit e482bc3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ warn_unused_ignores = false
137137
[[tool.mypy.overrides]]
138138
module = "db.executor"
139139
warn_unused_ignores = false
140+
disallow_untyped_decorators = false
140141

141142
# Pytest configuration
142143
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)