diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 73795f49..190bcee6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -134,7 +134,7 @@ repos: always_run: true args: [audit, --json, --ignore-code=CVE-2019-8341] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 99abe27a5a16f301d9e0a3828181399dfbf54ebd # frozen: v0.11.0 + rev: 25a8c8da6c24a3b9a1a536e2674683dd0eead5d6 # frozen: v0.11.2 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/pyproject.toml b/pyproject.toml index 99aeab60..0f49646b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -111,7 +111,7 @@ pre-commit = [ {python = "3.8", version = "^3.5"} ] pylint = "3.2.7" -pyright = {extras = ["nodejs"], version = "1.1.396"} +pyright = {extras = ["nodejs"], version = "1.1.397"} pyroma = "^4.2" tox = "^4.0" tox-gh-actions = "^3.1.0" @@ -157,7 +157,7 @@ pytest-env = "^1.1.3" pytest-github-report = "^0.0.1" pytest-html = "^4.1.1" pytest-order = "^1.2.1" -ruff = "0.11.0" +ruff = "0.11.2" [tool.poetry.scripts] list-visa-resources = "tm_devices:print_available_visa_devices" diff --git a/src/tm_devices/driver_mixins/device_control/pi_control.py b/src/tm_devices/driver_mixins/device_control/pi_control.py index dcfd05fb..377464dc 100644 --- a/src/tm_devices/driver_mixins/device_control/pi_control.py +++ b/src/tm_devices/driver_mixins/device_control/pi_control.py @@ -2,7 +2,6 @@ import contextlib import logging -import logging.handlers import os import socket import time diff --git a/tests/requirements.txt b/tests/requirements.txt index ec3bdc65..4aa1c587 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -16,7 +16,7 @@ future-fstrings==1.2.0 ; python_version >= "3.8" and python_full_version != "3.9 http-server-mock==1.7 ; python_version >= "3.8" and python_full_version != "3.9.0" and python_full_version != "3.9.1" and python_version < "4.0" idna==3.10 ; python_version >= "3.8" and python_full_version != "3.9.0" and python_full_version != "3.9.1" and python_version < "4.0" importlib-metadata==8.5.0 ; python_version >= "3.8" and python_version < "3.10" and python_full_version != "3.9.0" and python_full_version != "3.9.1" -iniconfig==2.0.0 ; python_version >= "3.8" and python_full_version != "3.9.0" and python_full_version != "3.9.1" and python_version < "4.0" +iniconfig==2.1.0 ; python_version >= "3.8" and python_full_version != "3.9.0" and python_full_version != "3.9.1" and python_version < "4.0" itsdangerous==2.2.0 ; python_version >= "3.8" and python_full_version != "3.9.0" and python_full_version != "3.9.1" and python_version < "4.0" jinja2==3.1.6 ; python_version >= "3.8" and python_full_version != "3.9.0" and python_full_version != "3.9.1" and python_version < "4.0" linkchecker==10.3.0 ; python_version >= "3.8" and python_full_version != "3.9.0" and python_full_version != "3.9.1" and python_version < "4.0" @@ -38,7 +38,7 @@ pytest-order==1.3.0 ; python_version >= "3.8" and python_full_version != "3.9.0" python-dateutil==2.9.0.post0 ; python_version >= "3.8" and python_full_version != "3.9.0" and python_full_version != "3.9.1" and python_version < "4.0" pytz==2025.1 ; python_version >= "3.8" and python_full_version != "3.9.0" and python_full_version != "3.9.1" and python_version < "4.0" requests==2.32.3 ; python_version >= "3.8" and python_full_version != "3.9.0" and python_full_version != "3.9.1" and python_version < "4.0" -ruff==0.11.0 ; python_version >= "3.8" and python_full_version != "3.9.0" and python_full_version != "3.9.1" and python_version < "4.0" +ruff==0.11.2 ; python_version >= "3.8" and python_full_version != "3.9.0" and python_full_version != "3.9.1" and python_version < "4.0" setuptools==75.3.2 ; python_version >= "3.8" and python_full_version != "3.9.0" and python_full_version != "3.9.1" and python_version < "4.0" six==1.17.0 ; python_version >= "3.8" and python_full_version != "3.9.0" and python_full_version != "3.9.1" and python_version < "4.0" soupsieve==2.6 ; python_version >= "3.8" and python_full_version != "3.9.0" and python_full_version != "3.9.1" and python_version < "4.0" diff --git a/tests/test_tm_devices.py b/tests/test_tm_devices.py index 96571737..f449ea54 100644 --- a/tests/test_tm_devices.py +++ b/tests/test_tm_devices.py @@ -14,7 +14,6 @@ from packaging.version import InvalidVersion, Version import tm_devices -import tm_devices.device_manager import tm_devices.drivers import tm_devices.helpers