From 7ad235361746214bf4bab34bd93c9bd4496f6a91 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 23 Oct 2024 18:19:49 +0000 Subject: [PATCH] python-deps(deps-dev): update pyright requirement from 1.1.383 to 1.1.386 in the python-dependencies group across 1 directory (#41) * python-deps(deps-dev): update pyright requirement Updates the requirements on [pyright](https://github.com/RobertCraigie/pyright-python) to permit the latest version. Updates `pyright` to 1.1.386 - [Release notes](https://github.com/RobertCraigie/pyright-python/releases) - [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.383...v1.1.386) --- updated-dependencies: - dependency-name: pyright dependency-type: direct:development dependency-group: python-dependencies ... Signed-off-by: dependabot[bot] * chore: Update dependencies. * refactor: Apply ruff fixes --------- 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 | 6 +-- docs/requirements.txt | 109 +++++++++++++++++++++------------------- pyproject.toml | 2 +- tests/conftest.py | 12 ++--- tests/requirements.txt | 82 +++++++++++++++--------------- 5 files changed, 108 insertions(+), 103 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2836f86..b100965 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,7 +39,7 @@ repos: - id: remove-tabs - id: forbid-tabs - repo: https://github.com/python-jsonschema/check-jsonschema - rev: aa1acdb72677dfbc5f507d2dfd45d8380bbcc2e0 # frozen: 0.29.3 + rev: 37cd56d9d154dfb0648eaee8efc1040512700c47 # frozen: 0.29.4 hooks: - id: check-readthedocs - id: check-dependabot @@ -52,7 +52,7 @@ repos: - id: actionlint additional_dependencies: [pyflakes, shellcheck-py] - repo: https://github.com/commitizen-tools/commitizen - rev: a3498aba5e94c9f7c4acb529b5e7eb6df65fd053 # frozen: v3.29.1 + rev: bfe422faef54a78ff8c0ce5dea0da053159c9f9d # frozen: v3.30.0 hooks: - id: commitizen stages: [commit-msg] @@ -138,7 +138,7 @@ repos: always_run: true args: [audit, --json, --ignore-code=CVE-2019-8341] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 75b98813cfb7e663870a28c74366a1e99d7bfe79 # frozen: v0.6.9 + rev: 8983acb92ee4b01924893632cf90af926fa608f0 # frozen: v0.7.0 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/docs/requirements.txt b/docs/requirements.txt index a3f652c..2e7481e 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,56 +1,61 @@ astunparse==1.6.3 ; python_version >= "3.8" and python_version < "3.9" -beautifulsoup4==4.12.3 ; python_version >= "3.8" and python_version < "4.0" -black==24.8.0 ; python_version >= "3.8" and python_version < "4.0" -bracex==2.5.post1 ; python_version >= "3.8" and python_version < "4.0" -certifi==2024.8.30 ; python_version >= "3.8" and python_version < "4.0" -charset-normalizer==3.3.2 ; python_version >= "3.8" and python_version < "4.0" -click==8.1.7 ; python_version >= "3.8" and python_version < "4.0" -codespell==2.3.0 ; python_version >= "3.8" and python_version < "4.0" -colorama==0.4.6 ; python_version >= "3.8" and python_version < "4.0" -editdistpy==0.1.5 ; python_version >= "3.8" and python_version < "4.0" -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==1.3.2 ; python_version >= "3.8" and python_version < "4.0" -idna==3.10 ; python_version >= "3.8" and python_version < "4.0" +beautifulsoup4==4.12.3 ; python_version >= "3.8" and python_version < "3.13" +black==24.8.0 ; python_version >= "3.8" and python_version < "3.13" +bracex==2.5.post1 ; python_version >= "3.8" and python_version < "3.13" +certifi==2024.8.30 ; python_version >= "3.8" and python_version < "3.13" +charset-normalizer==3.4.0 ; python_version >= "3.8" and python_version < "3.13" +click==8.1.7 ; python_version >= "3.8" and python_version < "3.13" +codespell==2.3.0 ; python_version >= "3.8" and python_version < "3.13" +colorama==0.4.6 ; python_version >= "3.8" and python_version < "3.13" +editdistpy==0.1.5 ; python_version >= "3.8" and python_version < "3.13" +editorconfig==0.12.4 ; python_version >= "3.8" and python_version < "3.13" +ghp-import==2.1.0 ; python_version >= "3.8" and python_version < "3.13" +griffe==1.4.0 ; python_version >= "3.8" and python_version < "3.13" +hjson==3.1.0 ; python_version >= "3.8" and python_version < "3.13" +idna==3.10 ; python_version >= "3.8" and python_version < "3.13" importlib-metadata==8.5.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.7 ; python_version >= "3.8" and python_version < "4.0" -markupsafe==2.1.5 ; python_version >= "3.8" and python_version < "4.0" -mergedeep==1.3.4 ; python_version >= "3.8" and python_version < "4.0" -mkdocs==1.6.1 ; python_version >= "3.8" and python_version < "4.0" -mkdocs-autorefs==1.2.0 ; python_version >= "3.8" and python_version < "4.0" -mkdocs-ezglossary-plugin==1.6.10 ; python_version >= "3.8" and python_version < "4.0" -mkdocs-gen-files==0.5.0 ; python_version >= "3.8" and python_version < "4.0" -mkdocs-get-deps==0.2.0 ; python_version >= "3.8" and python_version < "4.0" -mkdocs-include-markdown-plugin==6.2.2 ; python_version >= "3.8" and python_version < "4.0" -mkdocs-literate-nav==0.6.1 ; python_version >= "3.8" and python_version < "4.0" -mkdocs-macros-plugin==1.2.0 ; 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.26.1 ; python_version >= "3.8" and python_version < "4.0" -mkdocstrings-python==1.11.1 ; python_version >= "3.8" and python_version < "4.0" -mypy-extensions==1.0.0 ; python_version >= "3.8" and python_version < "4.0" -nodeenv==1.9.1 ; 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.3.6 ; 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.11.2 ; 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.2 ; 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==75.1.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" -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" -typing-extensions==4.12.2 ; python_version >= "3.8" and python_version < "3.11" -urllib3==2.2.3 ; python_version >= "3.8" and python_version < "4.0" -watchdog==4.0.2 ; python_version >= "3.8" and python_version < "4.0" -wcmatch==10.0 ; python_version >= "3.8" and python_version < "4.0" +inflect==7.4.0 ; python_version >= "3.8" and python_version < "3.13" +jinja2==3.1.4 ; python_version >= "3.8" and python_version < "3.13" +jsbeautifier==1.15.1 ; python_version >= "3.8" and python_version < "3.13" +markdown==3.7 ; python_version >= "3.8" and python_version < "3.13" +markupsafe==2.1.5 ; python_version >= "3.8" and python_version < "3.13" +mergedeep==1.3.4 ; python_version >= "3.8" and python_version < "3.13" +mkdocs==1.6.1 ; python_version >= "3.8" and python_version < "3.13" +mkdocs-autorefs==1.2.0 ; python_version >= "3.8" and python_version < "3.13" +mkdocs-ezglossary-plugin==1.7.1 ; python_version >= "3.8" and python_version < "3.13" +mkdocs-gen-files==0.5.0 ; python_version >= "3.8" and python_version < "3.13" +mkdocs-get-deps==0.2.0 ; python_version >= "3.8" and python_version < "3.13" +mkdocs-include-markdown-plugin==6.2.2 ; python_version >= "3.8" and python_version < "3.13" +mkdocs-literate-nav==0.6.1 ; python_version >= "3.8" and python_version < "3.13" +mkdocs-macros-plugin==1.3.6 ; python_version >= "3.8" and python_version < "3.13" +mkdocs-mermaid2-plugin==1.1.1 ; python_version >= "3.8" and python_version < "3.13" +mkdocs-section-index==0.3.9 ; python_version >= "3.8" and python_version < "3.13" +mkdocs-spellcheck==1.1.0 ; python_version >= "3.8" and python_version < "3.13" +mkdocstrings==0.26.1 ; python_version >= "3.8" and python_version < "3.13" +mkdocstrings-python==1.11.1 ; python_version >= "3.8" and python_version < "3.13" +more-itertools==10.5.0 ; python_version >= "3.8" and python_version < "3.13" +mypy-extensions==1.0.0 ; python_version >= "3.8" and python_version < "3.13" +nodeenv==1.9.1 ; python_version >= "3.8" and python_version < "3.13" +packaging==24.1 ; python_version >= "3.8" and python_version < "3.13" +pathspec==0.12.1 ; python_version >= "3.8" and python_version < "3.13" +platformdirs==4.3.6 ; python_version >= "3.8" and python_version < "3.13" +pygments==2.18.0 ; python_version >= "3.8" and python_version < "3.13" +pymdown-extensions==10.11.2 ; python_version >= "3.8" and python_version < "3.13" +python-dateutil==2.9.0.post0 ; python_version >= "3.8" and python_version < "3.13" +pyyaml==6.0.2 ; python_version >= "3.8" and python_version < "3.13" +pyyaml-env-tag==0.1 ; python_version >= "3.8" and python_version < "3.13" +requests==2.32.3 ; python_version >= "3.8" and python_version < "3.13" +setuptools==75.2.0 ; python_version >= "3.8" and python_version < "3.13" +six==1.16.0 ; python_version >= "3.8" and python_version < "3.13" +soupsieve==2.6 ; python_version >= "3.8" and python_version < "3.13" +super-collections==0.5.3 ; python_version >= "3.8" and python_version < "3.13" +symspellpy==6.7.8 ; python_version >= "3.8" and python_version < "3.13" +termcolor==2.4.0 ; python_version >= "3.8" and python_version < "3.13" +tomli==2.0.2 ; python_version >= "3.8" and python_version < "3.13" +typeguard==4.3.0 ; python_version >= "3.8" and python_version < "3.13" +typing-extensions==4.12.2 ; python_version >= "3.8" and python_version < "3.13" +urllib3==2.2.3 ; python_version >= "3.8" and python_version < "3.13" +watchdog==4.0.2 ; python_version >= "3.8" and python_version < "3.13" +wcmatch==10.0 ; python_version >= "3.8" and python_version < "3.13" wheel==0.44.0 ; python_version >= "3.8" and python_version < "3.9" zipp==3.20.2 ; python_version >= "3.8" and python_version < "3.10" diff --git a/pyproject.toml b/pyproject.toml index 6d3ea14..d713ec7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,7 +82,7 @@ pre-commit = [ {python = "3.8", version = "^3.5"} ] pylint = "3.2.7" -pyright = "1.1.383" +pyright = "1.1.386" pyroma = "^4.2" pyvisa = "^1.14.1" tm_devices = "^2.3.0" diff --git a/tests/conftest.py b/tests/conftest.py index 2a1551b..7076129 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -82,7 +82,7 @@ def __exit__(self, exc_type, exc_value, traceback): self.server_process.wait() -@pytest.fixture() +@pytest.fixture def capture_stdout(): """Fixture to capture the standard output.""" old_stdout = sys.stdout @@ -91,7 +91,7 @@ def capture_stdout(): sys.stdout = old_stdout -@pytest.fixture() +@pytest.fixture def derived_waveform_handler(): """Fixture to create an instance of DerivedWaveformHandler. @@ -101,7 +101,7 @@ def derived_waveform_handler(): return DerivedWaveformHandler() -@pytest.fixture() +@pytest.fixture def expected_header(): """Fixture to provide a sample waveform header. @@ -125,7 +125,7 @@ def expected_header(): } -@pytest.fixture() +@pytest.fixture def grpc_channel(): # pylint: disable=useless-suppression """Create a gRPC channel to the test server.""" channel = grpc.insecure_channel(TEST_SERVER_ADDRESS) @@ -133,7 +133,7 @@ def grpc_channel(): # pylint: disable=useless-suppression channel.close() -@pytest.fixture() +@pytest.fixture def grpc_stub(grpc_channel): # pylint: disable=redefined-outer-name """Create a gRPC stub for the Connect service.""" return ConnectStub(grpc_channel) @@ -146,7 +146,7 @@ def start_test_server(): yield -@pytest.fixture() +@pytest.fixture def tekhsi_client(): """Create a TekHSIConnect client.""" return TekHSIConnect(TEST_SERVER_ADDRESS) diff --git a/tests/requirements.txt b/tests/requirements.txt index d69ce75..54f4a8e 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,43 +1,43 @@ -beautifulsoup4==4.12.3 ; python_version >= "3.8" and python_version < "4.0" -certifi==2024.8.30 ; python_version >= "3.8" and python_version < "4.0" -chardet==5.2.0 ; python_version >= "3.8" and python_version < "4.0" -charset-normalizer==3.3.2 ; python_version >= "3.8" and python_version < "4.0" -colorama==0.4.6 ; python_version >= "3.8" and python_version < "4.0" -coverage==7.6.1 ; python_version >= "3.8" and python_version < "4.0" -coverage[toml]==7.6.1 ; python_version >= "3.8" and python_version < "4.0" -dataproperty==1.0.1 ; python_version >= "3.8" and python_version < "4.0" -dnspython==2.6.1 ; python_version >= "3.8" and python_version < "4.0" +beautifulsoup4==4.12.3 ; python_version >= "3.8" and python_version < "3.13" +certifi==2024.8.30 ; python_version >= "3.8" and python_version < "3.13" +chardet==5.2.0 ; python_version >= "3.8" and python_version < "3.13" +charset-normalizer==3.4.0 ; python_version >= "3.8" and python_version < "3.13" +colorama==0.4.6 ; python_version >= "3.8" and python_version < "3.13" +coverage==7.6.1 ; python_version >= "3.8" and python_version < "3.13" +coverage[toml]==7.6.1 ; python_version >= "3.8" and python_version < "3.13" +dataproperty==1.0.1 ; python_version >= "3.8" and python_version < "3.13" +dnspython==2.6.1 ; python_version >= "3.8" and python_version < "3.13" exceptiongroup==1.2.2 ; python_version >= "3.8" and python_version < "3.11" -future-fstrings==1.2.0 ; python_version >= "3.8" and python_version < "4.0" -idna==3.10 ; python_version >= "3.8" and python_version < "4.0" -iniconfig==2.0.0 ; python_version >= "3.8" and python_version < "4.0" -jinja2==3.1.4 ; python_version >= "3.8" and python_version < "4.0" -linkchecker==10.3.0 ; python_version >= "3.8" and python_version < "4.0" -markupsafe==2.1.5 ; python_version >= "3.8" and python_version < "4.0" -mbstrdecoder==1.1.3 ; python_version >= "3.8" and python_version < "4.0" -networkx==3.1 ; python_version >= "3.8" and python_version < "4.0" -packaging==24.1 ; python_version >= "3.8" and python_version < "4.0" -pathvalidate==3.2.1 ; python_version >= "3.8" and python_version < "4.0" -pluggy==1.5.0 ; python_version >= "3.8" and python_version < "4.0" -psutil==6.0.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.3 ; 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.5 ; python_version >= "3.8" and python_version < "4.0" -pytest-github-report==0.0.1 ; python_version >= "3.8" and python_version < "4.0" -pytest-html==4.1.1 ; python_version >= "3.8" and python_version < "4.0" -pytest-metadata==3.1.1 ; python_version >= "3.8" and python_version < "4.0" -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" -setuptools==75.1.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" +future-fstrings==1.2.0 ; python_version >= "3.8" and python_version < "3.13" +idna==3.10 ; python_version >= "3.8" and python_version < "3.13" +iniconfig==2.0.0 ; python_version >= "3.8" and python_version < "3.13" +jinja2==3.1.4 ; python_version >= "3.8" and python_version < "3.13" +linkchecker==10.3.0 ; python_version >= "3.8" and python_version < "3.13" +markupsafe==2.1.5 ; python_version >= "3.8" and python_version < "3.13" +mbstrdecoder==1.1.3 ; python_version >= "3.8" and python_version < "3.13" +networkx==3.1 ; python_version >= "3.8" and python_version < "3.13" +packaging==24.1 ; python_version >= "3.8" and python_version < "3.13" +pathvalidate==3.2.1 ; python_version >= "3.8" and python_version < "3.13" +pluggy==1.5.0 ; python_version >= "3.8" and python_version < "3.13" +psutil==6.1.0 ; python_version >= "3.8" and python_version < "3.13" +pytablewriter==1.2.0 ; python_version >= "3.8" and python_version < "3.13" +pytest==8.3.3 ; python_version >= "3.8" and python_version < "3.13" +pytest-cov==5.0.0 ; python_version >= "3.8" and python_version < "3.13" +pytest-depends==1.0.1 ; python_version >= "3.8" and python_version < "3.13" +pytest-env==1.1.5 ; python_version >= "3.8" and python_version < "3.13" +pytest-github-report==0.0.1 ; python_version >= "3.8" and python_version < "3.13" +pytest-html==4.1.1 ; python_version >= "3.8" and python_version < "3.13" +pytest-metadata==3.1.1 ; python_version >= "3.8" and python_version < "3.13" +pytest-order==1.3.0 ; python_version >= "3.8" and python_version < "3.13" +python-dateutil==2.9.0.post0 ; python_version >= "3.8" and python_version < "3.13" +pytz==2024.2 ; python_version >= "3.8" and python_version < "3.13" +requests==2.32.3 ; python_version >= "3.8" and python_version < "3.13" +setuptools==75.2.0 ; python_version >= "3.8" and python_version < "3.13" +six==1.16.0 ; python_version >= "3.8" and python_version < "3.13" +soupsieve==2.6 ; python_version >= "3.8" and python_version < "3.13" +tabledata==1.3.3 ; python_version >= "3.8" and python_version < "3.13" +tcolorpy==0.1.6 ; python_version >= "3.8" and python_version < "3.13" tomli==2.0.2 ; 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" +typepy==1.3.2 ; python_version >= "3.8" and python_version < "3.13" +typepy[datetime]==1.3.2 ; python_version >= "3.8" and python_version < "3.13" +urllib3==2.2.3 ; python_version >= "3.8" and python_version < "3.13"