Skip to content

Commit

Permalink
python-deps(deps-dev): update ruff requirement from 0.7.3 to 0.7.4 in…
Browse files Browse the repository at this point in the history
… 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](astral-sh/ruff@0.7.3...0.7.4)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  dependency-group: python-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tektronix Bot <[email protected]>
Co-authored-by: Felt, Nicholas <[email protected]>
  • Loading branch information
3 people authored Nov 18, 2024
1 parent fe6477b commit a2b83d6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a2b83d6

Please sign in to comment.