From 4105d94b84d8fe9a85686601e383d8190bb5bacd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Jul 2026 06:04:39 +0000 Subject: [PATCH 1/2] Bump ruff from 0.15.22 to 0.16.0 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.15.22 to 0.16.0. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.15.22...0.16.0) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.16.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e4b044b744..6d716e1426 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.15.22", "ty"] +lint = ["pre-commit>=2.16.0", "ruff==0.16.0", "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.15.22", "ty"] +dependencies = ["pre-commit", "ruff==0.16.0", "ty"] [tool.hatch.envs.lint.scripts] fmt = ["pre-commit run --all-files --hook-stage manual {args:}"] From f5485f6ab1c672b2f2ac2acc3226bf119cd0f4da Mon Sep 17 00:00:00 2001 From: james <81617086+je-cook@users.noreply.github.com> Date: Mon, 27 Jul 2026 16:29:15 +0100 Subject: [PATCH 2/2] ruff fixes --- .pre-commit-config.yaml | 4 ++-- documentation/source/development/debugging.md | 1 + .../source/physics-models/plasma_beta/plasma_beta.md | 2 -- .../source/physics-models/plasma_current/plasma_current.md | 2 -- .../source/physics-models/plasma_current/plasma_inductance.md | 2 -- 5 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fba3dbd7a4..424a6e2dda 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.15.22 + rev: v0.16.0 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.0 + rev: v2.5.5 hooks: - id: biome-format types: [json] diff --git a/documentation/source/development/debugging.md b/documentation/source/development/debugging.md index aab5462a69..3d66db0375 100644 --- a/documentation/source/development/debugging.md +++ b/documentation/source/development/debugging.md @@ -8,6 +8,7 @@ breakpoint in the code, insert the following code where you want the code to bre ```python import pdb + pdb.set_trace() ``` diff --git a/documentation/source/physics-models/plasma_beta/plasma_beta.md b/documentation/source/physics-models/plasma_beta/plasma_beta.md index b8ffd0f58e..20e81f5a14 100644 --- a/documentation/source/physics-models/plasma_beta/plasma_beta.md +++ b/documentation/source/physics-models/plasma_beta/plasma_beta.md @@ -164,8 +164,6 @@ IN.DAT i_beta_norm_max = 0 beta_norm_max = 3.0 - - ``` --------- diff --git a/documentation/source/physics-models/plasma_current/plasma_current.md b/documentation/source/physics-models/plasma_current/plasma_current.md index 1029b01d97..f7d31f95c9 100644 --- a/documentation/source/physics-models/plasma_current/plasma_current.md +++ b/documentation/source/physics-models/plasma_current/plasma_current.md @@ -557,8 +557,6 @@ IN.DAT i_alphaj = 0 alphaj = 1.0 - - ``` ----------- diff --git a/documentation/source/physics-models/plasma_current/plasma_inductance.md b/documentation/source/physics-models/plasma_current/plasma_inductance.md index 0d24f321ad..ea29832dd5 100644 --- a/documentation/source/physics-models/plasma_current/plasma_inductance.md +++ b/documentation/source/physics-models/plasma_current/plasma_inductance.md @@ -16,8 +16,6 @@ IN.DAT i_ind_plasma_internal_norm = 0 ind_plasma_internal_norm = 1.0 - - ``` ----------