Skip to content

Commit 4440b68

Browse files
committed
Fix linting issues in 'utils/run-unasync.py'
1 parent ade3e05 commit 4440b68

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

utils/run-unasync.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,10 @@ def main():
4545
Path(__file__).absolute().parent.parent / "elasticsearch/_async"
4646
):
4747
for filename in filenames:
48-
if (
49-
filename.rpartition(".")[-1]
50-
in (
51-
"py",
52-
"pyi",
53-
)
54-
and not filename.startswith("utils.py")
55-
):
48+
if filename.rpartition(".")[-1] in (
49+
"py",
50+
"pyi",
51+
) and not filename.startswith("utils.py"):
5652
filepaths.append(os.path.join(root, filename))
5753

5854
unasync.unasync_files(filepaths, rules)

0 commit comments

Comments
 (0)