aboutsummaryrefslogtreecommitdiffstats
path: root/.flake8
blob: 6742d3dc403933472c2d736c4504b6a703ba566f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[flake8]
allow-untyped-nested = true
docstring-convention = all
max-line-length = 100

exclude = __pycache__,.cache,user_base,venv,.venv,snekbox/config_pb2.py

ignore =
    E203, W503,
    # Missing Docstrings
    D100,D104,D105,D107,
    # Docstring Whitespace
    D203,D212,D214,D215,
    # Docstring Quotes
    D301,D302,
    # Docstring Content
    D400,D401,D402,D404,D405,D406,D407,D408,D409,D410,D411,D412,D413,D414,D416,D417,
    # Type Annotations
    ANN002,ANN003,ANN101,ANN102,ANN204,ANN206

per-file-ignores = tests/*:D1,ANN,E202,E231,E241,E272,E702