Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/i2mint/dol
Browse files Browse the repository at this point in the history
  • Loading branch information
thorwhalen committed Nov 17, 2023
2 parents 5d09899 + 8d5c1d7 commit f1e30d5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions dol/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -1324,7 +1324,7 @@ def __init__(

def clone(self, **kwargs):
return type(self)(**{**self._init_kwargs, **kwargs})

clone.__signature__ = signature(__init__)

def key_codec(self, source: FieldTypeNames, target: FieldTypeNames):
Expand Down Expand Up @@ -1563,9 +1563,8 @@ def simple_str_to_tuple(self, ss: str):
if ss is None:
return None
return tuple(
f(x) for f, x in zip(
self.from_str_funcs.values(), ss.split(self.simple_str_sep)
)
f(x)
for f, x in zip(self.from_str_funcs.values(), ss.split(self.simple_str_sep))
)

# @_return_none_if_none_input
Expand Down
2 changes: 1 addition & 1 deletion dol/tests/test_filesys.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def empty_directory(s, path_must_include=('test_mk_dirs_if_missing',)):
if not all(substr in s for substr in path_must_include):
raise ValueError(
f"Path '{s}' does not include any of the substrings: {path_must_include}.\n"
"This is a safeguard. For your safety, I will delete nothing!"
'This is a safeguard. For your safety, I will delete nothing!'
)

import os, shutil
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = dol
version = 0.2.12
version = 0.2.13
url = https://github.com/i2mint/dol
platforms = any
description_file = README.md
Expand Down

0 comments on commit f1e30d5

Please sign in to comment.