-
Notifications
You must be signed in to change notification settings - Fork 0
/
pytype.cfg
91 lines (65 loc) · 2.59 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[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 =
.
# 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 = 4
# All pytype output goes here.
output = .pytype
# Platform (e.g., "linux", "win32") that the target code runs on.
platform = darwin
# Paths to source code directories, separated by ':'.
pythonpath = .
# Python version (major.minor) of the target code.
python_version = 3.9
# Bind 'self' in methods with non-transparent decorators. This flag is temporary
# and will be removed once this behavior is enabled by default.
bind_decorated_methods = False
# Don't allow None to match bool. This flag is temporary and will be removed
# once this behavior is enabled by default.
none_is_not_bool = False
# Enable parameter count checks for overriding methods with renamed arguments.
# This flag is temporary and will be removed once this behavior is enabled by
# default.
overriding_renamed_parameter_count_checks = False
# Variables initialized as None retain their None binding. This flag is
# temporary and will be removed once this behavior is enabled by default.
strict_none_binding = False
# Support the third-party fiddle library. This flag is temporary and will be
# removed once this behavior is enabled by default.
use_fiddle_overlay = False
# Opt-in: Do not allow Any as a return type.
no_return_any = False
# Opt-in: Require decoration with @typing.override when overriding a method or
# nested class attribute of a parent class.
require_override_decorator = False
# Experimental: Infer precise return types even for invalid function calls.
precise_return = False
# Experimental: Solve unknown types to label with structural types.
protocols = False
# Experimental: Only load submodules that are explicitly imported.
strict_import = False
# Experimental: Enable exhaustive checking of function parameter types.
strict_parameter_checks = False
# Experimental: Emit errors for comparisons between incompatible primitive
# types.
strict_primitive_comparisons = False
# Experimental: Check that variables are defined in all possible code paths.
strict_undefined_checks = False
# Experimental: FOR TESTING ONLY. Use pytype/rewrite/.
use_rewrite = False
# Space-separated list of error names to ignore.
disable =
pyi-error
import-error
# Don't report errors.
report_errors = True
check-annotations = True
disallow-untyped-defs = True