fix black formatting for new version

Signed-off-by: Philip May <[email protected]>
This commit is contained in:
Philip May
2022-02-05 00:13:37 -08:00
committed by Vijayan Balasubramanian
parent 8b5a1caf61
commit 4056fa0176
4 changed files with 9 additions and 13 deletions
+4 -8
View File
@@ -420,14 +420,10 @@ def dump_modules(modules):
filepaths = []
for root, _, filenames in os.walk(CODE_ROOT / "opensearchpy/_async"):
for filename in filenames:
if (
filename.rpartition(".")[-1]
in (
"py",
"pyi",
)
and not filename.startswith("utils.py")
):
if filename.rpartition(".")[-1] in (
"py",
"pyi",
) and not filename.startswith("utils.py"):
filepaths.append(os.path.join(root, filename))
unasync.unasync_files(filepaths, rules)