"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "client/commands/infer.py" between
pyre-check-0.0.54.tar.gz and pyre-check-0.0.55.tar.gz

About: Pyre is a performant type checker for Python (ships with Pysa, a security focused static analysis tool).

infer.py  (pyre-check-0.0.54):infer.py  (pyre-check-0.0.55)
skipping to change at line 563 skipping to change at line 563
type_directory, type_directory,
self._in_place, self._in_place,
self._debug_infer, self._debug_infer,
) )
return self return self
def _flags(self) -> List[str]: def _flags(self) -> List[str]:
flags = super()._flags() flags = super()._flags()
filter_directories = self._get_directories_to_analyze() filter_directories = self._get_directories_to_analyze()
filter_directories.update(
set(self._configuration.get_existent_do_not_ignore_errors_in_paths()
)
)
if len(filter_directories): if len(filter_directories):
flags.extend(["-filter-directories", ";".join(sorted(filter_director ies))]) flags.extend(["-filter-directories", ";".join(sorted(filter_director ies))])
search_path = self._configuration.search_path + typeshed_search_path( search_path = self._configuration.search_path + typeshed_search_path(
self._configuration.typeshed self._configuration.typeshed
) )
if search_path: if search_path:
flags.extend(["-search-path", ",".join(search_path)]) flags.extend(["-search-path", ",".join(search_path)])
if len(self._ignore_infer) > 0: if len(self._ignore_infer) > 0:
flags.extend(["-ignore-infer", ";".join(self._ignore_infer)]) flags.extend(["-ignore-infer", ";".join(self._ignore_infer)])
return flags return flags
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)