-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy path.flake8
More file actions
32 lines (25 loc) · 756 Bytes
/
.flake8
File metadata and controls
32 lines (25 loc) · 756 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
[flake8]
exclude =
.git,
./env
**/env
ecobidas/_version.py
docstring-convention = numpy
max-line-length = 150
max_complexity = 15
max_function_length = 150
max_parameters_amount = 10
max_returns_amount = 7
# ----------------------- errors to include / exclude -----------------------
# See https://flake8.pycqa.org/en/latest/user/violations.html#selecting-violations-with-flake8
# For PEP8 error codes see:
# http://pep8.readthedocs.org/en/latest/intro.html#error-codes
#
# The ruff website also has a very didactic explanations on the reasons
# why those rules exist:
# https://docs.astral.sh/ruff/rules/
--select = B,D,E,F,W,C90,CFQ
per-file-ignores =
**/__init__.py: D104
tests/**/*.py: D103
extend-ignore = D100, D101, D102, D103, E712