-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.flake8
More file actions
39 lines (34 loc) · 793 Bytes
/
.flake8
File metadata and controls
39 lines (34 loc) · 793 Bytes
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
[flake8]
# Useful docs:
# Flake8 Rules: https://www.flake8rules.com/
# (plugin) bugbear rules: https://github.com/PyCQA/flake8-bugbear#list-of-warnings
# (plugin) pep8-naming rules: https://github.com/PyCQA/pep8-naming#error-codes
# (plugin) flake8-docstrings rules: http://www.pydocstyle.org/en/stable/error_codes.html
# Dependencies
require-plugins =
flake8-bugbear,
flake8-docstrings
pep8-naming
# What to lint
exclude =
.ipynb_checkpoints
.git
__pycache__
.pytest_cache
.vscode
# Rules
docstring-convention = google
hang-closing = false
max-complexity = 10
max-line-length = 120
# Ignores
ignore =
D107,
W503,
E203
per-file-ignores =
__init__.py: D104
test_*: D100, F401
# Output
format = pylint
statistics = true