From fa57b92a8b24ea64cfddc289c83800524996f1a8 Mon Sep 17 00:00:00 2001 From: Seth Michael Larson Date: Sat, 2 May 2020 18:12:50 -0500 Subject: [PATCH 1/2] Change Rule(replacements={...}) to additional_replacements --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 646409c..f1916ca 100644 --- a/README.rst +++ b/README.rst @@ -67,7 +67,7 @@ customized :code:`unasync.Rule` instances to :code:`unasync.cmdclass_build_py()` # This rule's 'fromdir' is more specific so will take precedent # over the above rule if the path is within /ahip/tests/... # This rule adds an additional token replacement over the default replacements. - unasync.Rule("/ahip/tests/", "/hip/tests/", replacements={"ahip": "hip"}), + unasync.Rule("/ahip/tests/", "/hip/tests/", additional_replacements={"ahip": "hip"}), ])}, ... ) From 2e07cd04e764edf59e809e94e8fea63d84b02132 Mon Sep 17 00:00:00 2001 From: Seth Michael Larson Date: Sat, 2 May 2020 18:13:09 -0500 Subject: [PATCH 2/2] Add 'unasync_files' to __all__ --- src/unasync/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unasync/__init__.py b/src/unasync/__init__.py index 7ea5e80..db4c0d9 100644 --- a/src/unasync/__init__.py +++ b/src/unasync/__init__.py @@ -14,6 +14,7 @@ __all__ = [ "Rule", + "unasync_files", "cmdclass_build_py", ]