[flake8]
exclude =
    .git,
    __pycache__,
    docs/conf.py,
    build,
    dist,
    src/pegen/grammar_parser.py,
    tests/python_parser/data,
    tests/python_parser/parser_cache,
ignore = E203, E266, E501, W503, E731
# line length is intentionally set to 80 here because pegen uses Bugbear
# See https://github.com/psf/black/blob/master/README.md#line-length for more details
max-line-length = 80
max-complexity = 19
select = B,C,E,F,W,T4,B9