.flake8 675 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
[flake8]
select = C,E,F,W
exclude = ./build
ignore =
    # E, see https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes
    E101,E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,
    E201,E202,E203,E221,E225,E226,E228,E231,E241,E251,E261,E262,E265,E266,E271,E272,E275,
    E301,E302,E303,E305,E306,
    E401,E402,
    E501,E502,
    E701,E711,E712,E713,E714,E721,E722,E731,E741,

    # F, see https://flake8.pycqa.org/en/latest/user/error-codes.html
    F401,F402,F403,F404,F405,
    F522,F523,F524,F541,
    F601,F631,F632,
    F811,F821,F823,F841,

    # W, see https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes
    W191,
    W503,W504
    W601,W605