Skip to content

Commit 7ea4c28

Browse files
fix(deps): update all non-major dependencies (#378)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: James Braza <[email protected]>
1 parent 40c852d commit 7ea4c28

File tree

6 files changed

+32
-9
lines changed

6 files changed

+32
-9
lines changed

.github/renovate.json5

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,10 @@
3131
matchPackageNames: ["torch"],
3232
allowedVersions: "<2.6",
3333
},
34+
{
35+
// Match pyproject.toml
36+
matchPackageNames: ["dask-cuda"],
37+
allowedVersions: "<25.10.0",
38+
},
3439
],
3540
}

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ repos:
2020
- id: mixed-line-ending
2121
- id: trailing-whitespace
2222
- repo: https://github.com/jsh9/markdown-toc-creator
23-
rev: 0.0.10
23+
rev: 0.1.3
2424
hooks:
2525
- id: markdown-toc-creator
2626
- repo: https://github.com/astral-sh/ruff-pre-commit
27-
rev: v0.14.0
27+
rev: v0.14.7
2828
hooks:
2929
- id: ruff-check
3030
args: [--fix, --exit-non-zero-on-fix]
3131
- id: ruff-format
3232
- repo: https://github.com/rbubley/mirrors-prettier
33-
rev: v3.6.2
33+
rev: v3.7.3
3434
hooks:
3535
- id: prettier
3636
- repo: https://github.com/Yelp/detect-secrets
@@ -47,7 +47,7 @@ repos:
4747
hooks:
4848
- id: blacken-docs
4949
- repo: https://github.com/jsh9/markdown-toc-creator
50-
rev: 0.0.10
50+
rev: 0.1.3
5151
hooks:
5252
- id: markdown-toc-creator
5353
- repo: https://github.com/jumanjihouse/pre-commit-hooks
@@ -70,15 +70,15 @@ repos:
7070
- id: nb-clean
7171
args: [--preserve-cell-outputs, --remove-empty-cells]
7272
- repo: https://github.com/jackdewinter/pymarkdown
73-
rev: v0.9.32
73+
rev: v0.9.33
7474
hooks:
7575
- id: pymarkdown
7676
- repo: https://github.com/henryiii/validate-pyproject-schema-store
77-
rev: 2025.10.03
77+
rev: 2025.11.21
7878
hooks:
7979
- id: validate-pyproject
8080
- repo: https://github.com/astral-sh/uv-pre-commit
81-
rev: 0.9.0
81+
rev: 0.9.13
8282
hooks:
8383
- id: uv-lock
8484
- repo: local

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

pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ check-hidden = true
114114
ignore-words-list = "astroid,ser"
115115
skip = "**tests/cassettes/*,**/tests/cassettes/*"
116116

117+
[tool.markdown_toc_creator]
118+
horizontal-rule-style = "prettier"
119+
proactive = false
120+
117121
[tool.mypy]
118122
# Type-checks the interior of functions without type annotations.
119123
check_untyped_defs = true
@@ -202,6 +206,12 @@ max-attributes = 12
202206
max-line-length = 88 # Match ruff line-length
203207

204208
[tool.pylint.main]
209+
# Files or directories matching the regular expression patterns are skipped.
210+
# The regex matches against base names, not paths. The default value ignores
211+
# Emacs file locks
212+
ignore-patterns = [
213+
"^version\\.py$", # Version files made by setuptools_scm
214+
]
205215
# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
206216
# number of processors available to use, and will cap the count on Windows to
207217
# avoid hangs.
@@ -359,6 +369,7 @@ extend-select = [
359369
"B909",
360370
"B912",
361371
"CPY001",
372+
"DOC102",
362373
"DOC201",
363374
"DOC202",
364375
"DOC402",
@@ -560,6 +571,7 @@ mypy-init-return = true
560571
"E501", # Tests can have long strings
561572
"F841", # Tests can have unused locals
562573
"N802", # Tests function names can match class names
574+
"PLC2701", # Test can import private names if needed
563575
"PLR2004", # Tests can have magic values
564576
"PLR6301", # Test classes can ignore self
565577
"S101", # Tests can have assertions

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)