@@ -40,6 +40,7 @@ exclude = [
40
40
" fedn_pb2.py" ,
41
41
" fedn_pb2_grpc.py" ,
42
42
" .ci"
43
+ "tests"
43
44
]
44
45
45
46
lint.ignore = [
@@ -59,13 +60,23 @@ lint.ignore = [
59
60
60
61
" Q000" , # [*] Single quotes found but double quotes preferred
61
62
62
- " D212" , # [*] Multi-line docstring summary should start at the first line
63
+ " D212" , # [*] Multi-line docstring summary should start at the first line (100+)
64
+
65
+ " D213" , # [*] Multi-line docstring summary should start at the second line (100+)
63
66
64
67
" D104" , # Missing docstring in public package (17)
65
68
66
- " ANN201" , # Missing return type annotation for public function (100)
69
+ " ANN201" , # Missing return type annotation for public function (100+ )
67
70
68
- " ANN001" , # Missing type annotation for function argument (100)
71
+ " ANN001" , # Missing type annotation for function argument (100+ )
69
72
70
73
" RET504" , # Unnecessary assignment to `settings` before `return` statement (72)
74
+
75
+ " ANN204" , # Missing return type annotation for special method `__init__` (61)
76
+
77
+ " D205" , # 1 blank line required between summary line and description (100+)
78
+
79
+ " T201" , # `print` found (31)
80
+
81
+ " SIM401" , # Use `result.get("id", "")` instead of an `if` block (72)
71
82
]
0 commit comments