Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python-deps(deps): bump the python-dependencies group with 2 updates #195

Merged
merged 2 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ repos:
always_run: true
args: [., --min=10]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.1
rev: v0.4.2
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ poetry = ">=1.8.0"
pre-commit = ">=2.20.0"
pre-commit-update = ">=0.1.3"
pylint = {extras = ["spelling"], version = "3.1.0"} # Update this by running scripts/update_development_dependencies.py
pyright = "1.1.359" # Update this by running scripts/update_development_dependencies.py
pyright = "1.1.360" # Update this by running scripts/update_development_dependencies.py
pyroma = ">=4.2"
pytest = ">=7.1.2"
pytest-cov = ">=3.0.0"
Expand All @@ -114,7 +114,7 @@ pytest-html = ">=4.0"
pytest-order = ">=1.0.1"
pytest-profiling = ">=1.7.0"
python-semantic-release = ">=8.5.1"
ruff = "0.4.1" # Update this by running scripts/update_development_dependencies.py
ruff = "0.4.2" # Update this by running scripts/update_development_dependencies.py
safety = ">=2.1.1"
sphinx-autoapi = ">=2.0.0"
sphinx-copybutton = ">=0.5.1"
Expand Down
2 changes: 1 addition & 1 deletion src/tm_devices/helpers/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def create_visa_connection(
visa_library
).open_resource(resource_expression)
# The broad except is because pyvisa_py can throw a base exception in the tcpip.py file
except Exception as error_2: # noqa: BLE001
except Exception as error_2:
message = f"Unable to establish a VISA connection to {resource_expression}\n\n"
if device_config_entry.connection_type in {
ConnectionTypes.TCPIP,
Expand Down
Loading