aboutsummaryrefslogtreecommitdiffstats
path: root/build/rules/flake8/README.md
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
committeralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
commit056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch)
tree4740980126f32e3af7937ba0ca5f83e59baa4ab0 /build/rules/flake8/README.md
parent269126dcced1cc8b53eb4398b4a33e5142f10290 (diff)
downloadydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'build/rules/flake8/README.md')
-rw-r--r--build/rules/flake8/README.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/build/rules/flake8/README.md b/build/rules/flake8/README.md
new file mode 100644
index 0000000000..6de0fb9efb
--- /dev/null
+++ b/build/rules/flake8/README.md
@@ -0,0 +1,30 @@
+#Flake8 migrations
+
+Don't edit migrations.yaml!
+
+Style tests are checked every night, and if there are no more errors of the specified type for the specified prefix, then it is automatically excluded from the migration file.
+
+##migrations.yaml
+Format:
+```
+migrations:
+ plugin-1:
+ ignore:
+ - B102
+ - S103
+ - F401
+ prefixes:
+ - devtools/ya
+ - ads
+ - quality
+ ignore-F123:
+ ignore:
+ - F123
+ prefixes:
+ - devtools/ya
+ - devtools/d
+```
+If arcadia-relative filepath startswith prefix from prefixes, then:
+
+1. ignore values will be added to flake8.conf ignore section
+