From a6029daa9269971746665477aff1a45c0652afdf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 09:59:05 -0800 Subject: [PATCH] python-deps(deps-dev): update ruff requirement from 0.7.4 to 0.8.0 in the python-dependencies group (#355) * python-deps(deps-dev): update ruff requirement Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version. Updates `ruff` to 0.8.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.7.4...0.8.0) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development dependency-group: python-dependencies ... Signed-off-by: dependabot[bot] * chore: Update dependencies. * chore: Run ruff lint/format and update code to pass checks --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tektronix Bot Co-authored-by: Felt, Nicholas --- .pre-commit-config.yaml | 2 +- .../python/readthedocs/class.html.jinja | 5 +- docs/requirements.txt | 2 +- pyproject.toml | 2 +- src/tm_devices/__init__.py | 8 +- src/tm_devices/commands/__init__.py | 30 ++++---- .../driver_mixins/device_control/__init__.py | 2 +- .../device_control/pi_control.py | 7 +- .../shared_implementations/__init__.py | 2 +- src/tm_devices/drivers/__init__.py | 76 +++++++++---------- src/tm_devices/helpers/__init__.py | 36 ++++----- src/tm_devices/helpers/functions.py | 11 ++- tests/requirements.txt | 2 +- 13 files changed, 93 insertions(+), 92 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2185182c..260213d7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -133,7 +133,7 @@ repos: always_run: true args: [audit, --json, --ignore-code=CVE-2019-8341] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: cafecb2f683a620516412e109877570ca7648cbd # frozen: v0.7.4 + rev: 0710b94280408eef12748cde4782972942370ad2 # frozen: v0.8.0 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/docs/_templates/mkdocstrings/python/readthedocs/class.html.jinja b/docs/_templates/mkdocstrings/python/readthedocs/class.html.jinja index fd445451..42b2c314 100644 --- a/docs/_templates/mkdocstrings/python/readthedocs/class.html.jinja +++ b/docs/_templates/mkdocstrings/python/readthedocs/class.html.jinja @@ -34,8 +34,9 @@ click {{ base.path }} href "" "{{ base.path }}" {% endfor %} -