diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d05edff0a3..cf1c9ea639 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ repos: - id: check-merge-conflict - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.16.1 + rev: v0.16.3 hooks: - id: ruff-check args: [--fix] @@ -22,7 +22,7 @@ repos: args: [--mapping, '2', --sequence, '4', --offset, '2', --preserve-quotes] - repo: https://github.com/biomejs/pre-commit - rev: v2.5.5 + rev: v2.5.8 hooks: - id: biome-format types: [json] diff --git a/process/models/geometry/blanket.py b/process/models/geometry/blanket.py index 0732a901d8..83595e8c3d 100644 --- a/process/models/geometry/blanket.py +++ b/process/models/geometry/blanket.py @@ -215,7 +215,7 @@ def blanket_geometry_double_null( ) # Upper blanket - divgap = -1 * divgap + divgap *= -1 ( rs_upper_outboard, diff --git a/process/models/geometry/firstwall.py b/process/models/geometry/firstwall.py index 65759c0be6..06dcff46a8 100644 --- a/process/models/geometry/firstwall.py +++ b/process/models/geometry/firstwall.py @@ -220,7 +220,7 @@ def first_wall_geometry_double_null( ) # Upper first wall - top_point = -1 * top_point + top_point *= -1 ( rs_upper_outboard, zs_upper_outboard, diff --git a/pyproject.toml b/pyproject.toml index d7793e860a..02f528d282 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,7 +75,7 @@ docs = [ "mkdocs-gen-files", "mkdocs-literate-nav", ] -lint = ["pre-commit>=2.16.0", "ruff==0.16.1", "ty"] +lint = ["pre-commit>=2.16.0", "ruff==0.16.3", "ty"] all = ["process[test,docs,lint,examples,plotly]", "toml"] [project.scripts] @@ -111,7 +111,7 @@ deploy = "mkdocs gh-deploy" [tool.hatch.envs.lint] detached = true # Don't inherit from default (does not download project dependencies) -dependencies = ["pre-commit", "ruff==0.16.1", "ty"] +dependencies = ["pre-commit", "ruff==0.16.3", "ty"] [tool.hatch.envs.lint.scripts] fmt = ["pre-commit run --all-files --hook-stage manual {args:}"]