forked from intility/fastapi-azure-auth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
50 lines (48 loc) · 1.24 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
42
43
44
45
46
47
48
49
50
[flake8]
max-line-length = 120
ignore=
# E501: Line length
E501
# Function calls in argument defaults
B008
# Docstring at the top of a public module
D100
# Docstring at the top of a public class (method is enough)
D101
# Make docstrings one line if it can fit.
D200
# Imperative docstring declarations
D401
# Type annotation for `self`
TYP101
# for cls
TYP102
# Missing docstring in __init__
D107
# Missing docstring in public package
D104
# Missing type annotations for `**kwargs`
TYP003
# Whitespace before ':'. Black formats code this way.
E203
# 1 blank line required between summary line and description
D205
# First line should end with a period - here we have a few cases where the first line is too long, and
# this issue can't be fixed without using noqa notation
D400
# Missing type annotations for self
ANN101
# Missing type annotation for cls in classmethod
ANN102
# Missing type annotations for **args
ANN002
# Missing type annotations for **kwargs
ANN003
# W503 line break before binary operator - conflicts with black
W503
exclude =
.git,
.idea,
__pycache__,
tests/*,
venv