fix black formatting for new version
Signed-off-by: Philip May <[email protected]>
This commit is contained in:
committed by
Vijayan Balasubramanian
parent
8b5a1caf61
commit
4056fa0176
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user