Skip to content

Commit 9f08a37

Browse files
committed
Add a pytype configuration file
1 parent c7f9457 commit 9f08a37

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

pytype.cfg

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
[pytype]
2+
# Space-separated list of files or directories to exclude.
3+
exclude =
4+
**/*_test.py
5+
**/test_*.py
6+
3rdparty
7+
8+
# Space-separated list of files or directories to process.
9+
inputs =
10+
pycheribuild
11+
12+
# Keep going past errors to analyze as many files as possible.
13+
keep_going = True
14+
15+
# All pytype output goes here.
16+
output = .pytype
17+
18+
# Platform (e.g., "linux", "win32") that the target code runs on.
19+
platform = linux
20+
21+
# Paths to source code directories, separated by ':'.
22+
pythonpath =
23+
.:3rdparty/pexpect:3rdparty/ptyprocess
24+
25+
# Comma or space separated list of error names to ignore.
26+
# TODO: enable attribute-error once I've figured out a solution for setup_config_options()
27+
disable =
28+
annotation-type-mismatch
29+
attribute-error
30+
31+
report_errors = True

0 commit comments

Comments
 (0)