-
Notifications
You must be signed in to change notification settings - Fork 1
/
.flake8
41 lines (35 loc) · 1.03 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
[flake8]
rst-directives =
# These are sorted alphabetically - but that does not matter
autosummary,data,currentmodule,deprecated,
glossary,moduleauthor,plot,testcode,
versionadded,versionchanged,
rst-roles =
attr,class,func,meth,mod,obj,ref,term,
# C programming language:
c:member,
# Python programming language:
py:func,py:mod,
max-line-length=99
show-source=true
enable-extensions=G
import-order-style=pycharm
docstring-convention=google
# flake8-pytest-style
pytest-fixture-no-parentheses=true
pytest-parametrize-names-type=tuple
pytest-parametrize-values-type=tuple
pytest-parametrize-values-row-type=tuple
pytest-mark-no-parentheses=true
# Maximum Cyclomatic Complexity allowed
max-complexity = 5
radon-max-cc = 5
# Set the application name
application-import-names=blake2signer
# Ignores per files
per-file-ignores =
# False positives, see https://github.com/PyCQA/pydocstyle/issues/514
# ToDo: remove once that is fixed
blake2signer/errors.py: D417
blake2signer/mixins.py: D417
# <>