Skip to content

Commit f11919b

Browse files
authored
Merge pull request #17 from rambo/issue-16
Fix #16
2 parents 5d4c580 + ef6f1f8 commit f11919b

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 2.3.0
2+
current_version = 2.3.1
33
commit = False
44
tag = False
55

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "scpi"
3-
version = "2.3.0"
3+
version = "2.3.1"
44
description = "Basic idea here is to make transport-independent command sender/parser and a device baseclass that implements the common SCPI commands"
55
authors = ["Eero af Heurlin <eero.afheurlin@iki.fi>"]
66
homepage = "https://github.com/rambo/python-scpi/"

src/scpi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""SCPI module, the scpi class implements the base command set, devices may extend it.
22
transports are separate from devices (so you can use for example hp6632b with either serial port or GPIB)"""
3-
__version__ = "2.3.0" # NOTE Use `bump2version --config-file patch` to bump versions correctly
3+
__version__ = "2.3.1" # NOTE Use `bump2version --config-file patch` to bump versions correctly
44
from .scpi import SCPIProtocol, SCPIDevice
55
from .errors import CommandError

src/scpi/scpi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ async def command(self, command, cmd_timeout=COMMAND_DEFAULT_TIMEOUT, abort_on_t
174174
"""Sends a command, does not wait for response"""
175175
try:
176176

177-
async def _command() -> None:
177+
async def _command(command: str) -> None:
178178
"""Wrap the actual work"""
179179
nonlocal self
180180
async with self.lock:

tests/test_scpi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
def test_version() -> None:
66
"""Make sure version matches expected"""
7-
assert __version__ == "2.3.0"
7+
assert __version__ == "2.3.1"

0 commit comments

Comments
 (0)