Skip to content

Commit c1b0a7b

Browse files
fix: resolve linting errors
1 parent ce9b9bd commit c1b0a7b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/dicomweb_client/uri.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ def _validate_uid(uid: str, permissive: bool) -> None:
637637
f'Actual count in {uid!r}: {len(uid)}')
638638
if _REGEX_UID.fullmatch(uid) is None:
639639
raise ValueError(f'UID {uid!r} must match regex {_REGEX_UID!r} in '
640-
'conformance with the DICOM Standard.')
640+
'conformance with the DICOM Standard.')
641641
elif permissive and _REGEX_PERMISSIVE_UID.fullmatch(uid) is None:
642642
raise ValueError(f'Permissive mode is enabled. UID {uid!r} must match '
643643
f'regex {_REGEX_PERMISSIVE_UID!r}.')

src/dicomweb_client/web.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@
3232
import requests
3333
import retrying
3434

35-
from dicomweb_client.uri import build_query_string, parse_query_parameters, _validate_uid
35+
from dicomweb_client.uri import (
36+
build_query_string,
37+
parse_query_parameters,
38+
_validate_uid
39+
)
3640

3741

3842
logger = logging.getLogger(__name__)
@@ -2173,7 +2177,6 @@ def delete_study(
21732177
url += f'?{additional_params_query_string}'
21742178
self._http_delete(url)
21752179

2176-
21772180
def search_for_series(
21782181
self,
21792182
study_instance_uid: Optional[str] = None,

0 commit comments

Comments
 (0)