Skip to content

Commit bfc9509

Browse files
authored
Merge pull request #449 from autoatml/pre-commit-ci-update-config
pre-commit autoupdate
2 parents c75f0d0 + 417dc27 commit bfc9509

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ default_language_version:
99
python: python3
1010
repos:
1111
- repo: https://github.com/astral-sh/ruff-pre-commit
12-
rev: v0.12.11
12+
rev: v0.13.3
1313
hooks:
1414
- id: ruff
1515
args: [--fix, --extend-ignore, FA102]
@@ -23,12 +23,12 @@ repos:
2323
rev: v3.20.0
2424
hooks:
2525
- id: pyupgrade
26-
- repo: https://github.com/psf/black
27-
rev: 25.1.0
26+
- repo: https://github.com/psf/black-pre-commit-mirror
27+
rev: 25.9.0
2828
hooks:
2929
- id: black
3030
- repo: https://github.com/asottile/blacken-docs
31-
rev: 1.19.1
31+
rev: 1.20.0
3232
hooks:
3333
- id: blacken-docs
3434
additional_dependencies: [black]
@@ -41,7 +41,7 @@ repos:
4141
- id: rst-directive-colons
4242
- id: rst-inline-touching-normal
4343
- repo: https://github.com/pre-commit/mirrors-mypy
44-
rev: v1.17.1
44+
rev: v1.18.2
4545
hooks:
4646
- id: mypy
4747
files: ^autoplex/.*\.py$

src/autoplex/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ class RssConfig(AutoplexBaseModel):
10371037
description="If true, sample structures from initially generated "
10381038
"randomized cells using CUR.",
10391039
)
1040-
rss_selection_method: Literal["bcur1s", "bcur2i", None] = Field(
1040+
rss_selection_method: Literal["bcur1s", "bcur2i"] | None = Field(
10411041
default="bcur2i",
10421042
description="Method for selecting samples from the RSS trajectories: "
10431043
"Boltzmann flat histogram in enthalpy first, then CUR. Options are as follows",
@@ -1111,7 +1111,7 @@ class RssConfig(AutoplexBaseModel):
11111111
description="Whether to retain the existing sigma values for specific configuration types."
11121112
"If True, existing sigma values for specific configurations will remain unchanged",
11131113
)
1114-
scheme: Literal["linear-hull", "volume-stoichiometry", None] = Field(
1114+
scheme: Literal["linear-hull", "volume-stoichiometry"] | None = Field(
11151115
default="linear-hull", description="Method to use for regularization"
11161116
)
11171117
reg_minmax: list[list[float]] = Field(

0 commit comments

Comments
 (0)