-
Notifications
You must be signed in to change notification settings - Fork 144
/
.flake8
41 lines (41 loc) · 1.43 KB
/
.flake8
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
31
32
33
34
35
36
37
38
39
40
41
# Unfortunately, flake8 does not support pyproject.toml configuration.
# https://github.com/PyCQA/flake8/issues/234
[flake8]
per-file-ignores =
__init__.py:F401
show-source = True
count= True
statistics = True
# https://www.flake8rules.com
# E203 = Whitespace before ‘:'
# E265 = comment blocks like @{ section, which it can't handle
# E266 = too many leading '#' for block comment
# E731 = do not assign a lambda expression, use a def
# W293 = Blank line contains whitespace
# W503 = Line break before binary operator
# E704 = multiple statements in one line - used for @override
# TC002 = move third party import to TYPE_CHECKING
# ANN = flake8-annotations
# TC, TC2 = flake8-type-checking
# B = flake8-bugbear
# S = flake8-bandit
# D = flake8-docstrings
# S = flake8-bandit
# F are errors reported by pyflakes
# E and W are warnings and errors reported by pycodestyle
# C are violations reported by mccabe
# BLK = flake8-black
# DAR = darglint
# SC = flake8-spellcheck
ignore = E203, E211, E265, E501, E999, F401, F821, W503, W505, SC100, SC200, C400, C401, C402, B008, E800, E741, F403, F405, C901, B028, E226
max-line-length = 120
max-doc-length = 80
import-order-style = google
docstring-convention = google
inline-quotes = "
strictness=short
dictionaries=en_US,python,technical,pandas
min-python-version = 3.8.0
exclude = .git,.tox,.nox,venv,.venv,.venv-docs,.venv-dev,.venv-note,.venv-dempy,docs,test
max-complexity = 10
#spellcheck-targets=comments