Skip to content

Commit 180aad1

Browse files
committed
Bump version
1 parent c82f234 commit 180aad1

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types: [published]
66

77
env:
8-
VERSION: 0.7.2
8+
VERSION: 0.7.3
99

1010
permissions: write-all
1111

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
project = 'panda-py'
1010
copyright = '2023, Jean Elsner'
1111
author = 'Jean Elsner'
12-
release = '0.7.2'
12+
release = '0.7.3'
1313

1414
# -- General configuration ---------------------------------------------------
1515
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"
44

55
[project]
66
name = "panda-python"
7-
version = "0.7.2"
7+
version = "0.7.3"
88
description = "Python bindings for the Panda robot"
99
requires-python = ">=3.7"
1010
dependencies = ["websockets>=11.0", "requests", "numpy"]

src/panda_py/__init__.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
'fk', 'ik', 'ik_full', 'Desk', 'TOKEN_PATH'
3333
]
3434

35-
__version__ = '0.7.2'
35+
__version__ = '0.7.3'
3636

3737
_logger = logging.getLogger('desk')
3838

@@ -76,7 +76,11 @@ class Desk:
7676
robot's Pilot interface.
7777
"""
7878

79-
def __init__(self, hostname: str, username: str, password: str, platform: str = 'panda') -> None:
79+
def __init__(self,
80+
hostname: str,
81+
username: str,
82+
password: str,
83+
platform: str = 'panda') -> None:
8084
urllib3.disable_warnings()
8185
self._session = requests.Session()
8286
self._session.verify = False
@@ -90,7 +94,9 @@ def __init__(self, hostname: str, username: str, password: str, platform: str =
9094
self.login()
9195
self._legacy = False
9296

93-
if platform.lower() in ['panda', 'fer', 'franka_emika_robot', 'frankaemikarobot']:
97+
if platform.lower() in [
98+
'panda', 'fer', 'franka_emika_robot', 'frankaemikarobot'
99+
]:
94100
self._platform = 'panda'
95101
elif platform.lower() in ['fr3', 'frankaresearch3', 'franka_research_3']:
96102
self._platform = 'fr3'
@@ -115,9 +121,7 @@ def lock(self, force: bool = True) -> None:
115121
elif self._platform == 'fr3':
116122
url = '/desk/api/joints/lock'
117123

118-
self._request('post',
119-
url,
120-
files={'force': force})
124+
self._request('post', url, files={'force': force})
121125

122126
def unlock(self, force: bool = True) -> None:
123127
"""

0 commit comments

Comments
 (0)