Skip to content

Commit 2b86355

Browse files
committed
All changes for passing pre-commit
1 parent f2cc01c commit 2b86355

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

packages/lmi/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ pip install fhlmi
2020

2121
<!--TOC-->
2222

23+
---
24+
25+
**Table of Contents**
26+
2327
- [Installation](#installation)
2428
- [Quick start](#quick-start)
2529
- [Documentation](#documentation)
@@ -41,6 +45,8 @@ pip install fhlmi
4145
- [HybridEmbeddingModel](#hybridembeddingmodel)
4246
- [SentenceTransformerEmbeddingModel](#sentencetransformerembeddingmodel)
4347

48+
---
49+
4450
<!--TOC-->
4551

4652
## Quick start

tests/test_context_managers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
set_training_mode,
1616
train_mode,
1717
)
18-
from ldp.graph.op_utils import _RUN_ID # noqa: PLC2701
18+
from ldp.graph.op_utils import _RUN_ID
1919

2020

2121
@pytest.mark.asyncio

tests/test_torch_ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from ldp.graph import ConfigOp, FxnOp, PromptOp, compute_graph, set_training_mode
1313
from ldp.graph.async_torch import (
1414
AsyncTorchModule,
15-
_get_autocast_context, # noqa: PLC2701
15+
_get_autocast_context,
1616
async_protect_torch_call,
1717
)
1818
from ldp.graph.gradient_estimators import straight_through_estimator as ste

0 commit comments

Comments
 (0)