"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "client/commands/start.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).

start.py  (pyre-check-0.0.54):start.py  (pyre-check-0.0.55)
skipping to change at line 165 skipping to change at line 165
LOG.info("Waiting on the pyre client lock.") LOG.info("Waiting on the pyre client lock.")
else: else:
raise exception raise exception
def _flags(self) -> List[str]: def _flags(self) -> List[str]:
flags = super()._flags() flags = super()._flags()
if self._taint_models_path: if self._taint_models_path:
for path in self._taint_models_path: for path in self._taint_models_path:
flags.extend(["-taint-models", path]) flags.extend(["-taint-models", path])
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))])
if len(self._configuration.ignore_all_errors):
ignore_all_errors_paths = (
self._configuration.get_existent_ignore_all_errors_paths()
)
if len(ignore_all_errors_paths):
flags.extend( flags.extend(
[ ["-ignore-all-errors", ";".join(sorted(ignore_all_errors_paths))
"-ignore-all-errors", ]
";".join(sorted(self._configuration.ignore_all_errors)),
]
) )
if self._terminal: if self._terminal:
flags.append("-terminal") flags.append("-terminal")
if self._store_type_check_resolution: if self._store_type_check_resolution:
flags.append("-store-type-check-resolution") flags.append("-store-type-check-resolution")
if not self._command_arguments.no_saved_state: if not self._command_arguments.no_saved_state:
save_initial_state_to = self._command_arguments.save_initial_state_t o save_initial_state_to = self._command_arguments.save_initial_state_t o
if save_initial_state_to and os.path.isdir( if save_initial_state_to and os.path.isdir(
os.path.dirname(save_initial_state_to) os.path.dirname(save_initial_state_to)
): ):
 End of changes. 3 change blocks. 
5 lines changed or deleted 11 lines changed or added

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