summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkirrysin <[email protected]>2025-09-04 16:04:07 +0300
committerkirrysin <[email protected]>2025-09-04 16:28:41 +0300
commit37da212ac28413718f03c271948c427be2ff94d5 (patch)
treee873689a8e27b9d72f61ca1f0b94bc4cdc042485
parent99efb5c4ed87067d5f6e2393b9d746532d7e66fe (diff)
Add build/config/tests/ruff to "devtools/contrib/piglet/projects/ydblib/config.yaml"
commit_hash:5bba9e168323feeec3547b9f6faac73b8f9cd9b4
-rw-r--r--build/config/tests/ruff/a.yaml20
-rw-r--r--build/config/tests/ruff/ruff.toml5
-rw-r--r--build/config/tests/ruff/ya.make9
3 files changed, 34 insertions, 0 deletions
diff --git a/build/config/tests/ruff/a.yaml b/build/config/tests/ruff/a.yaml
new file mode 100644
index 00000000000..abfa0584335
--- /dev/null
+++ b/build/config/tests/ruff/a.yaml
@@ -0,0 +1,20 @@
+service: committeepython
+title: Python Committee
+arcanum:
+ review:
+ auto_assign: true
+ groups:
+ - name: python-committee
+ roles: [ "committeepython:consultant" ]
+ rules:
+ - subpaths: "ruff.toml"
+ reviewers:
+ - name: python-committee
+ assign: 1
+ ship: 0
+ min_approvers_count: 1
+ auto_merge:
+ enabled: true
+ requirements:
+ - system: arcanum
+ type: comment_issues_closed
diff --git a/build/config/tests/ruff/ruff.toml b/build/config/tests/ruff/ruff.toml
new file mode 100644
index 00000000000..a0714265475
--- /dev/null
+++ b/build/config/tests/ruff/ruff.toml
@@ -0,0 +1,5 @@
+line-length = 120
+
+[lint]
+select = ["E4", "E7", "E9", "F", "W"]
+ignore = []
diff --git a/build/config/tests/ruff/ya.make b/build/config/tests/ruff/ya.make
new file mode 100644
index 00000000000..6ba82453efd
--- /dev/null
+++ b/build/config/tests/ruff/ya.make
@@ -0,0 +1,9 @@
+SUBSCRIBER(g:python-committee)
+
+LIBRARY()
+
+RESOURCE_FILES(
+ ruff.toml
+)
+
+END()