-
Notifications
You must be signed in to change notification settings - Fork 5
/
pytype.cfg
76 lines (56 loc) · 2.98 KB
/
pytype.cfg
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# NOTE: All relative paths are relative to the location of this file.
[pytype]
# Space-separated list of files or directories to exclude.
exclude =
**/*_test.py
**/test_*.py
# Space-separated list of files or directories to process.
inputs = xeda
# Keep going past errors to analyze as many files as possible.
keep_going = False
# Run N jobs in parallel. When 'auto' is used, this will be equivalent to the
# number of CPUs on the host system.
jobs = auto
# All pytype output goes here.
output = .pytype
# Paths to source code directories, separated by ':'.
pythonpath =
src
# Python version (major.minor) of the target code.
python_version = 3.10
# Use the enum overlay for more precise enum checking. This flag is temporary
# and will be removed once this behavior is enabled by default.
use_enum_overlay = Use the enum overlay for more precise enum checking.
# Build dict literals from dict(k=v, ...) calls. This flag is temporary and will
# be removed once this behavior is enabled by default.
build_dict_literals_from_kwargs = Build dict literals from dict(k=v, ...) calls.
# Enable stricter namedtuple checks, such as unpacking and 'typing.Tuple'
# compatibility. This flag is temporary and will be removed once this behavior
# is enabled by default.
strict_namedtuple_checks = Enable stricter namedtuple checks, such as unpacking and 'typing.Tuple' compatibility.
# Enable exhaustive checking of function parameter types. This flag is temporary
# and will be removed once this behavior is enabled by default.
strict_parameter_checks = Enable exhaustive checking of function parameter types.
# Enable support for TypedDicts. This flag is temporary and will be removed once
# this behavior is enabled by default.
enable_typed_dicts = Enable support for TypedDicts.
# Trace class creation for better type analysis of class bodies. This flag is
# temporary and will be removed once this behavior is enabled by default.
trace_all_classes = Trace class creation for better type analysis of class bodies.
# Emit errors for comparisons between incompatible primitive types. This flag is
# temporary and will be removed once this behavior is enabled by default.
strict_primitive_comparisons = Emit errors for comparisons between incompatible primitive types.
# Solve unknown types to label with structural types. This flag is temporary and
# will be removed once this behavior is enabled by default.
protocols = Solve unknown types to label with structural types.
# Only load submodules that are explicitly imported. This flag is temporary and
# will be removed once this behavior is enabled by default.
strict_import = Only load submodules that are explicitly imported.
# Infer precise return types even for invalid function calls. This flag is
# temporary and will be removed once this behavior is enabled by default.
precise_return = Infer precise return types even for invalid function calls.
# Comma or space separated list of error names to ignore.
disable =
pyi-error
# Don't report errors.
report_errors = True