1[flake8] 2select = B,C,E,F,P,W,B9,TOR0,TOR1,TOR2 3max-line-length = 80 4ignore = 5 # Black conflicts and overlaps. 6 B950, 7 E111, 8 E115, 9 E117, 10 E121, 11 E122, 12 E123, 13 E124, 14 E125, 15 E126, 16 E127, 17 E128, 18 E129, 19 E131, 20 E201, 21 E202, 22 E203, 23 E221, 24 E222, 25 E225, 26 E226, 27 E227, 28 E231, 29 E241, 30 E251, 31 E252, 32 E261, 33 E262, 34 E265, 35 E271, 36 E272, 37 E301, 38 E302, 39 E303, 40 E305, 41 E306, 42 E501, 43 E502, 44 E701, 45 E702, 46 E703, 47 E704, 48 W291, 49 W292, 50 W293, 51 W391, 52 W504, 53 54 # Too opinionated. 55 E265, 56 E266, 57 E402, 58 E722, 59 B001, 60 P207, 61 B003, 62 P208, 63 C403, 64 W503, 65 66 # Bugbear has opinions: https://github.com/PyCQA/flake8-bugbear#opinionated-warnings 67 B904, 68 B905, 69 B906, 70 B907, 71exclude = 72 ./.git, 73 ./backends/xnnpack/third-party, 74 ./build, 75 ./configurations, 76 ./docs, 77 ./third_party, 78 *.pyi 79 80max-complexity = 12 81