aboutsummaryrefslogtreecommitdiffstats
path: root/build/rules/flake8/README.md
blob: 6de0fb9efbba4baea716028b6ff48e3a5fbf3d5b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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