Skip to content

Commit b26249d

Browse files
author
Ashley Scillitoe
committed
Fix numbered list in docstring (#636)
1 parent d842464 commit b26249d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

alibi_detect/utils/missing_optional_dependency.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@
2020

2121
"""Mapping used to ensure correct pip install message is generated if a missing optional dependency is detected. This
2222
dict is used to control two behaviours:
23-
1. When we import objects from missing dependencies we check that any `ModuleNotFoundError` or `ImportError`
23+
24+
1. When we import objects from missing dependencies we check that any `ModuleNotFoundError` or `ImportError`
2425
corresponds to a missing optional dependency by checking the name of the missing dependency is in `ERROR_TYPES`. We
2526
then map this name to the corresponding optional dependency bucket that will resolve the issue.
26-
2. Some optional dependencies have multiple names such as `torch` and `pytorch`, instead of enforcing a single
27+
2. Some optional dependencies have multiple names such as `torch` and `pytorch`, instead of enforcing a single
2728
naming convention across the whole code base we instead use `ERROR_TYPES` to capture both cases. This is done right
2829
before the pip install message is issued as this is the most robust place to capture these differences.
2930
"""

0 commit comments

Comments
 (0)