Skip to content

Commit 26efef7

Browse files
committed
missing imports warning
1 parent f9b9b78 commit 26efef7

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

python/lib/sift_py/yaml/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import yaml
66

77
try:
8-
import ryml # type: ignore[import-not-found]
8+
import ryml
99

1010
_HAS_RYML = True
1111
except ImportError:

python/pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,10 @@ ignore_errors = true
320320
[[tool.mypy.overrides]]
321321
module = "ruamel"
322322
ignore_missing_imports = true
323+
324+
[[tool.mypy.overrides]]
325+
module = "ryml"
326+
ignore_missing_imports = true
323327
ignore_errors = true
324328

325329
[[tool.mypy.overrides]]

0 commit comments

Comments
 (0)