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/copy_clang_profile_rt.py | |
parent | a5acb7aa4ca5a4603215e878eb0cad786793262b (diff) | |
download | ydb-8951ddf780e02616cdb2ec54a02bc354e8507c0f.tar.gz |
`build/scripts` ya style --py
Diffstat (limited to 'build/scripts/copy_clang_profile_rt.py')
-rw-r--r-- | build/scripts/copy_clang_profile_rt.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build/scripts/copy_clang_profile_rt.py b/build/scripts/copy_clang_profile_rt.py index 7710615f32..f8058e9e64 100644 --- a/build/scripts/copy_clang_profile_rt.py +++ b/build/scripts/copy_clang_profile_rt.py @@ -8,7 +8,8 @@ import process_command_files as pcf # Remove after DTCC-1902 CLANG_RT_VERSIONS = [14, 16] -def copy_clang_rt_profile(cmd, build_root, arch) -> None: + +def copy_clang_rt_profile(cmd, build_root, arch): profile_rt_lib = None resource_dir = None @@ -18,7 +19,7 @@ def copy_clang_rt_profile(cmd, build_root, arch) -> None: profile_rt_lib = arg break if arg.startswith('-resource-dir='): - resource_dir = arg[len('-resource-dir='):] + resource_dir = arg[len('-resource-dir=') :] profile_rt_path = os.path.join(build_root, profile_rt_lib) profile_name = os.path.basename(profile_rt_path) |