From a2b83d65ff0a0061d321f25eb97321a4620e398b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 09:47:58 -0800 Subject: [PATCH] python-deps(deps-dev): update ruff requirement from 0.7.3 to 0.7.4 in the python-dependencies group (#351) * 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.7.4 - [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.3...0.7.4) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development dependency-group: python-dependencies ... Signed-off-by: dependabot[bot] * chore: Update dependencies. * chore: Revert pre-commit hook update since newer versions of the hook don't support Python 3.8. Also prevent that hook from being updated in the future. --------- 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 --- .../workflows/update-python-and-pre-commit-dependencies.yml | 2 +- .pre-commit-config.yaml | 4 ++-- docs/requirements.txt | 2 +- pyproject.toml | 2 +- tests/requirements.txt | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/update-python-and-pre-commit-dependencies.yml b/.github/workflows/update-python-and-pre-commit-dependencies.yml index 6a9483f8..295f83d0 100644 --- a/.github/workflows/update-python-and-pre-commit-dependencies.yml +++ b/.github/workflows/update-python-and-pre-commit-dependencies.yml @@ -14,7 +14,7 @@ jobs: update-pre-commit: true run-pre-commit: true pre-commit-hook-skip-list: pylint,pyright,pyright-verifytypes,pyroma,poetry-audit - pre-commit-repo-update-skip-list: https://github.com/executablebooks/mdformat + pre-commit-repo-update-skip-list: https://github.com/executablebooks/mdformat,https://github.com/pappasam/toml-sort export-dependency-groups: docs,tests permissions: contents: write diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0c1a7e6c..2185182c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -52,7 +52,7 @@ repos: - id: actionlint additional_dependencies: [pyflakes, shellcheck-py] - repo: https://github.com/commitizen-tools/commitizen - rev: 665aa59a2794b47de0cae6fe51886d6366268194 # frozen: v3.30.1 + rev: d3f092d98dc7585ce9cb3295bafb942ca5be1886 # frozen: v3.31.0 hooks: - id: commitizen stages: [commit-msg] @@ -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: 6a19e69c83fd6e3a3ffdd5e32a40e35c37b02218 # frozen: v0.7.3 + rev: cafecb2f683a620516412e109877570ca7648cbd # frozen: v0.7.4 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/docs/requirements.txt b/docs/requirements.txt index ec988665..c5b6a360 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -51,7 +51,7 @@ soupsieve==2.6 ; python_version >= "3.8" and python_version < "4.0" super-collections==0.5.3 ; python_version >= "3.8" and python_version < "4.0" symspellpy==6.7.8 ; python_version >= "3.8" and python_version < "4.0" termcolor==2.4.0 ; python_version >= "3.8" and python_version < "4.0" -tomli==2.0.2 ; python_version >= "3.8" and python_version < "4.0" +tomli==2.1.0 ; python_version >= "3.8" and python_version < "4.0" typeguard==4.4.0 ; python_version >= "3.8" and python_version < "4.0" typing-extensions==4.12.2 ; python_version >= "3.8" and python_version < "4.0" urllib3==2.2.3 ; python_version >= "3.8" and python_version < "4.0" diff --git a/pyproject.toml b/pyproject.toml index 24e3b86c..4b93b59e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -156,7 +156,7 @@ pytest-env = "^1.1.3" pytest-github-report = "^0.0.1" pytest-html = "^4.1.1" pytest-order = "^1.2.1" -ruff = "0.7.3" +ruff = "0.7.4" [tool.poetry.scripts] list-visa-resources = "tm_devices:print_available_visa_devices" diff --git a/tests/requirements.txt b/tests/requirements.txt index 4a24ad2a..698f4bf6 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -38,13 +38,13 @@ pytest-order==1.3.0 ; python_version >= "3.8" and python_version < "4.0" python-dateutil==2.9.0.post0 ; python_version >= "3.8" and python_version < "4.0" pytz==2024.2 ; python_version >= "3.8" and python_version < "4.0" requests==2.32.3 ; python_version >= "3.8" and python_version < "4.0" -ruff==0.7.3 ; python_version >= "3.8" and python_version < "4.0" +ruff==0.7.4 ; python_version >= "3.8" and python_version < "4.0" setuptools==75.3.0 ; python_version >= "3.8" and python_version < "4.0" six==1.16.0 ; python_version >= "3.8" and python_version < "4.0" soupsieve==2.6 ; python_version >= "3.8" and python_version < "4.0" tabledata==1.3.3 ; python_version >= "3.8" and python_version < "4.0" tcolorpy==0.1.6 ; python_version >= "3.8" and python_version < "4.0" -tomli==2.0.2 ; python_version >= "3.8" and python_full_version <= "3.11.0a6" +tomli==2.1.0 ; python_version >= "3.8" and python_full_version <= "3.11.0a6" typepy==1.3.2 ; python_version >= "3.8" and python_version < "4.0" typepy[datetime]==1.3.2 ; python_version >= "3.8" and python_version < "4.0" urllib3==2.2.3 ; python_version >= "3.8" and python_version < "4.0"