Skip to content

Commit

Permalink
python-deps(deps-dev): bump the python-dependencies group with 2 upda…
Browse files Browse the repository at this point in the history
…tes (#257)

* python-deps(deps-dev): bump the python-dependencies group with 2 updates

Updates the requirements on [pyright](https://github.com/RobertCraigie/pyright-python) and [ruff](https://github.com/astral-sh/ruff) to permit the latest version.

Updates `pyright` to 1.1.373
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases)
- [Commits](RobertCraigie/pyright-python@v1.1.372...v1.1.373)

Updates `ruff` to 0.5.5
- [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.5.4...0.5.5)

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

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

* ci: Update python linters and pre-commit dependencies.

---------

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]>
  • Loading branch information
dependabot[bot] and tek-githubbot-1010 authored Jul 29, 2024
1 parent 7786236 commit e844824
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ repos:
- id: remove-tabs
- id: forbid-tabs
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.29.0
rev: 0.29.1
hooks:
- id: check-readthedocs
- id: check-dependabot
Expand All @@ -56,7 +56,7 @@ repos:
hooks:
- id: blacken-docs
files: \.(rst|md|markdown|tex)$
additional_dependencies: [black==23.12.1] # This may need to be updated/removed in the future once ruff supports formatting python code blocks in markdown
additional_dependencies: [black==24.4.2] # This may need to be updated/removed in the future once ruff supports formatting python code blocks in markdown
args: [--line-length=100]
- repo: https://github.com/lyz-code/yamlfix
rev: 1.16.0
Expand Down Expand Up @@ -139,7 +139,7 @@ repos:
always_run: true
args: [audit, --json, --ignore-code=CVE-2019-8341]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.4
rev: v0.5.5
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
8 changes: 4 additions & 4 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ editorconfig==0.12.4 ; python_version >= "3.8" and python_version < "4.0"
ghp-import==2.1.0 ; python_version >= "3.8" and python_version < "4.0"
griffe==0.47.0 ; python_version >= "3.8" and python_version < "4.0"
idna==3.7 ; python_version >= "3.8" and python_version < "4.0"
importlib-metadata==8.0.0 ; python_version >= "3.8" and python_version < "3.10"
importlib-metadata==8.2.0 ; python_version >= "3.8" and python_version < "3.10"
jinja2==3.1.4 ; python_version >= "3.8" and python_version < "4.0"
jsbeautifier==1.15.1 ; python_version >= "3.8" and python_version < "4.0"
markdown==3.6 ; python_version >= "3.8" and python_version < "4.0"
Expand All @@ -29,19 +29,19 @@ mkdocs-macros-plugin==1.0.5 ; python_version >= "3.8" and python_version < "4.0"
mkdocs-mermaid2-plugin==1.1.1 ; python_version >= "3.8" and python_version < "4.0"
mkdocs-section-index==0.3.9 ; python_version >= "3.8" and python_version < "4.0"
mkdocs-spellcheck==1.1.0 ; python_version >= "3.8" and python_version < "4.0"
mkdocstrings==0.25.1 ; python_version >= "3.8" and python_version < "4.0"
mkdocstrings==0.25.2 ; python_version >= "3.8" and python_version < "4.0"
mkdocstrings-python==1.10.5 ; python_version >= "3.8" and python_version < "4.0"
mypy-extensions==1.0.0 ; python_version >= "3.8" and python_version < "4.0"
packaging==24.1 ; python_version >= "3.8" and python_version < "4.0"
pathspec==0.12.1 ; python_version >= "3.8" and python_version < "4.0"
platformdirs==4.2.2 ; python_version >= "3.8" and python_version < "4.0"
pygments==2.18.0 ; python_version >= "3.8" and python_version < "4.0"
pymdown-extensions==10.8.1 ; python_version >= "3.8" and python_version < "4.0"
pymdown-extensions==10.9 ; python_version >= "3.8" and python_version < "4.0"
python-dateutil==2.9.0.post0 ; python_version >= "3.8" and python_version < "4.0"
pyyaml==6.0.1 ; python_version >= "3.8" and python_version < "4.0"
pyyaml-env-tag==0.1 ; python_version >= "3.8" and python_version < "4.0"
requests==2.32.3 ; python_version >= "3.8" and python_version < "4.0"
setuptools==71.1.0 ; python_version >= "3.8" and python_version < "4.0"
setuptools==72.0.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.5 ; python_version >= "3.8" and python_version < "4.0"
symspellpy==6.7.7 ; python_version >= "3.8" and python_version < "4.0"
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@ pre-commit = [
pre-commit-update = "^0.3.0"
pyclean = "^3.0.0"
pylint = "3.2.6"
pyright = "1.1.372"
pyright = "1.1.373"
pyroma = "^4.2"
python-semantic-release = "^9.6.0"
ruff = "0.5.4"
ruff = "0.5.5"
safety = "^3.2.0"
toml-sort = "^0.23.0"
tox = "^4.0"
Expand Down Expand Up @@ -159,7 +159,7 @@ pytest-env = "^1.1.3"
pytest-github-report = "^0.0.1"
pytest-html = "^4.1.1"
pytest-order = "^1.2.1"
ruff = "0.5.4"
ruff = "0.5.5"
tomli = "^2.0.1"

[tool.poetry.scripts]
Expand Down
8 changes: 4 additions & 4 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ flask==3.0.3 ; python_version >= "3.8" and python_version < "4.0"
future-fstrings==1.2.0 ; python_version >= "3.8" and python_version < "4.0"
http-server-mock==1.7 ; python_version >= "3.8" and python_version < "4.0"
idna==3.7 ; python_version >= "3.8" and python_version < "4.0"
importlib-metadata==8.0.0 ; python_version >= "3.8" and python_version < "3.10"
importlib-metadata==8.2.0 ; python_version >= "3.8" and python_version < "3.10"
iniconfig==2.0.0 ; python_version >= "3.8" and python_version < "4.0"
itsdangerous==2.2.0 ; python_version >= "3.8" and python_version < "4.0"
jinja2==3.1.4 ; python_version >= "3.8" and python_version < "4.0"
Expand All @@ -27,7 +27,7 @@ packaging==24.1 ; python_version >= "3.8" and python_version < "4.0"
pathvalidate==3.2.0 ; python_version >= "3.8" and python_version < "4.0"
pluggy==1.5.0 ; python_version >= "3.8" and python_version < "4.0"
pytablewriter==1.2.0 ; python_version >= "3.8" and python_version < "4.0"
pytest==8.3.1 ; python_version >= "3.8" and python_version < "4.0"
pytest==8.3.2 ; python_version >= "3.8" and python_version < "4.0"
pytest-cov==5.0.0 ; python_version >= "3.8" and python_version < "4.0"
pytest-depends==1.0.1 ; python_version >= "3.8" and python_version < "4.0"
pytest-env==1.1.3 ; python_version >= "3.8" and python_version < "4.0"
Expand All @@ -38,8 +38,8 @@ pytest-order==1.2.1 ; 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.1 ; python_version >= "3.8" and python_version < "4.0"
requests==2.32.3 ; python_version >= "3.8" and python_version < "4.0"
ruff==0.5.4 ; python_version >= "3.8" and python_version < "4.0"
setuptools==71.1.0 ; python_version >= "3.8" and python_version < "4.0"
ruff==0.5.5 ; python_version >= "3.8" and python_version < "4.0"
setuptools==72.0.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.5 ; python_version >= "3.8" and python_version < "4.0"
tabledata==1.3.3 ; python_version >= "3.8" and python_version < "4.0"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_device_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class TestDeviceManager: # pylint: disable=no-self-use
# Get the list of device types, ignore the unit test ones since
# this test only applies to actual supported devices.
"device_type",
list(filter(lambda x: "UNIT_TEST" not in x, (y.name for y in DeviceTypes))),
list(filter(lambda x: "UNIT_TEST" not in x, (y.name for y in DeviceTypes))), # pyright: ignore[reportCallIssue,reportOperatorIssue]
)
def test_supported_device_type_methods(self, device_type: str) -> None:
"""Test that all supported device types have a getter method in the DeviceManager.
Expand Down

0 comments on commit e844824

Please sign in to comment.