summaryrefslogtreecommitdiffstats
path: root/build/plugins/cpp_style.py
diff options
context:
space:
mode:
authorAnton Samokhvalov <[email protected]>2022-02-10 16:45:17 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:45:17 +0300
commitd3a398281c6fd1d3672036cb2d63f842d2cb28c5 (patch)
treedd4bd3ca0f36b817e96812825ffaf10d645803f2 /build/plugins/cpp_style.py
parent72cb13b4aff9bc9cf22e49251bc8fd143f82538f (diff)
Restoring authorship annotation for Anton Samokhvalov <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'build/plugins/cpp_style.py')
-rw-r--r--build/plugins/cpp_style.py36
1 files changed, 18 insertions, 18 deletions
diff --git a/build/plugins/cpp_style.py b/build/plugins/cpp_style.py
index feca9bc66f5..3ab78b7320c 100644
--- a/build/plugins/cpp_style.py
+++ b/build/plugins/cpp_style.py
@@ -1,19 +1,19 @@
-import os
-
-from _common import sort_by_keywords
-
-
-def on_style(unit, *args):
- def it():
- yield 'DONT_PARSE'
-
- for f in args:
- f = f[len('${ARCADIA_ROOT}') + 1:]
-
- if '/generated/' in f:
- continue
-
- yield f
+import os
+
+from _common import sort_by_keywords
+
+
+def on_style(unit, *args):
+ def it():
+ yield 'DONT_PARSE'
+
+ for f in args:
+ f = f[len('${ARCADIA_ROOT}') + 1:]
+
+ if '/generated/' in f:
+ continue
+
+ yield f
yield '/cpp_style/files/' + f
-
- unit.onresource(list(it()))
+
+ unit.onresource(list(it()))