Skip to content

Commit 74038e8

Browse files
committed
Linting.
1 parent bb308c6 commit 74038e8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

domdf_python_tools/paths.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -574,9 +574,9 @@ def dump_json(
574574

575575
if compress:
576576
with gzip.open(self, mode="wt", encoding=encoding, errors=errors) as fp:
577-
return fp.write(json_library.dumps(data, **kwargs))
577+
fp.write(json_library.dumps(data, **kwargs))
578578

579-
return self.write_clean(
579+
self.write_clean(
580580
json_library.dumps(data, **kwargs),
581581
encoding=encoding,
582582
errors=errors,

domdf_python_tools/utils.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,8 @@ def posargs2kwargs(
265265
:return: Dictionary mapping argument names to values.
266266
267267
.. versionadded:: 0.4.10
268+
269+
.. info:: Python 3.8's Positional-Only Parameters (:pep:`570`) are not supported.
268270
"""
269271

270272
if kwargs is None:
@@ -275,6 +277,8 @@ def posargs2kwargs(
275277

276278
kwargs.update(zip(posarg_names, args))
277279

280+
# TODO: positional only arguments
281+
278282
return kwargs
279283

280284

0 commit comments

Comments
 (0)