diff options
author | iaz1607 <iaz1607@yandex-team.com> | 2023-11-30 12:16:39 +0300 |
---|---|---|
committer | iaz1607 <iaz1607@yandex-team.com> | 2023-11-30 12:56:46 +0300 |
commit | 8951ddf780e02616cdb2ec54a02bc354e8507c0f (patch) | |
tree | 478097488957d3b554e25868c972a959bb40d78e /build/scripts/build_java_codenav_index.py | |
parent | a5acb7aa4ca5a4603215e878eb0cad786793262b (diff) | |
download | ydb-8951ddf780e02616cdb2ec54a02bc354e8507c0f.tar.gz |
`build/scripts` ya style --py
Diffstat (limited to 'build/scripts/build_java_codenav_index.py')
-rw-r--r-- | build/scripts/build_java_codenav_index.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/build/scripts/build_java_codenav_index.py b/build/scripts/build_java_codenav_index.py index d7ac4f3213..8a4b297652 100644 --- a/build/scripts/build_java_codenav_index.py +++ b/build/scripts/build_java_codenav_index.py @@ -29,7 +29,11 @@ def just_do_it(argv): arcadia_root: fake_arcadia_root, build_root: fake_build_root, } - modify_sources_file(sources_file, os.path.join(os.path.dirname(sources_file), '_' + os.path.basename(sources_file)), fake_source_roots) + modify_sources_file( + sources_file, + os.path.join(os.path.dirname(sources_file), '_' + os.path.basename(sources_file)), + fake_source_roots, + ) kindex_data_root = '{}/kindex'.format(os.path.join(build_root, os.path.dirname(corpus_name))) if not os.path.exists(kindex_data_root): os.makedirs(kindex_data_root) @@ -45,5 +49,6 @@ def just_do_it(argv): os.unlink(fake_arcadia_root) os.unlink(fake_build_root) + if __name__ == '__main__': just_do_it(sys.argv[1:]) |