Skip to content

Commit

Permalink
python-deps(deps-dev): update pyright requirement from 1.1.383 to 1.1…
Browse files Browse the repository at this point in the history
….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](RobertCraigie/pyright-python@v1.1.383...v1.1.386)

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

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

* chore: Update dependencies.

* refactor: Apply ruff fixes

---------

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 Oct 23, 2024
1 parent 1077627 commit 7ad2353
Show file tree
Hide file tree
Showing 5 changed files with 108 additions and 103 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: aa1acdb72677dfbc5f507d2dfd45d8380bbcc2e0 # frozen: 0.29.3
rev: 37cd56d9d154dfb0648eaee8efc1040512700c47 # frozen: 0.29.4
hooks:
- id: check-readthedocs
- id: check-dependabot
Expand All @@ -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]
Expand Down Expand Up @@ -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]
Expand Down
109 changes: 57 additions & 52 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
12 changes: 6 additions & 6 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand All @@ -101,7 +101,7 @@ def derived_waveform_handler():
return DerivedWaveformHandler()


@pytest.fixture()
@pytest.fixture
def expected_header():
"""Fixture to provide a sample waveform header.
Expand All @@ -125,15 +125,15 @@ 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)
yield channel
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)
Expand All @@ -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)
82 changes: 41 additions & 41 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 7ad2353

Please sign in to comment.