Configuration¶
There are 3 ways to control the behavior of `pytype.
Pass command-line options to
pytype.Specify a configuration file using
pytype --config /path/to/config/file .... You can generate an example configuration file using the commandpytype --generate-config pytype.cfg.If no configuration file is found, pytype uses the first
setup.cfgit founds and use the[pytype]section.
Please refer to
xinstalll::pytypepytype.
Exclude Files and/or Directories¶
Use the
--excludeoption.:::bash PATH=.venv/bin:$PATH pytype xinstall --exclude xinstall/dataSpecify files and/or directories to exclude in the configuration file
setup.cfg.[pytype] exclude = **/*_test.py **/test_*.py
Silent Errors¶
Please refer to Silencing errors for detailed explanations.
References¶
https://