eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/AnnotationsCheckerDefaults.py

branch
eric7
changeset 8312
800c432b34c8
parent 8248
b00c1c6cc312
child 8881
54e42bc2437a
equal deleted inserted replaced
8311:4e8b98454baa 8312:800c432b34c8
1 # -*- coding: utf-8 -*-
2
3 # Copyright (c) 2021 Detlev Offenbach <detlev@die-offenbachs.de>
4 #
5
6 """
7 Module implementing complex defaults for the annotations checker.
8 """
9
10 AnnotationsCheckerDefaultArgs = {
11 # Annotations
12 "SuppressNoneReturning": False,
13 "SuppressDummyArgs": False,
14 "AllowUntypedDefs": False,
15 "AllowUntypedNested": False,
16 "MypyInitReturn": False,
17 "DispatchDecorators": ["singledispatch", "singledispatchmethod"],
18 "OverloadDecorators": ["overload"],
19
20 # Annotation Coverage
21 "MinimumCoverage": 75, # % of type annotation coverage
22
23 # Annotation Complexity
24 "MaximumComplexity": 3,
25 "MaximumLength": 7,
26 }

eric ide

mercurial