-
Notifications
You must be signed in to change notification settings - Fork 0
/
pytype.cfg
51 lines (38 loc) · 1.11 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
# 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 =
# clu/compilation
# clu/config
# clu/constants
# clu/fs
# clu/repl
# clu/testing
# clu/typespace
# clu/version
# clu/*.py
inputs = clu/predicates.py
# Keep going past errors to analyze as many files as possible.
keep_going = False
# All pytype output goes here.
output = ../develop/var/cache/pytype
# Paths to source code directories, separated by ':'.
pythonpath =
.
# Python version (major.minor) of the target code.
python_version = 3.7
# Comma separated list of error names to ignore.
disable =
pyi-error
# Don't report errors.
report_errors = True
# Experimental: Infer precise return types even for invalid function calls.
precise_return = True
# Experimental: solve unknown types to label with structural types.
protocols = True
# Experimental: Only load submodules that are explicitly imported.
strict_import = True