"Fossies" - the Fresh Open Source Software Archive  

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

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

command.py  (pyre-check-0.0.53):command.py  (pyre-check-0.0.54)
skipping to change at line 47 skipping to change at line 47
DEAD = 0 DEAD = 0
RUNNING = 1 RUNNING = 1
class ExitCode(enum.IntEnum): class ExitCode(enum.IntEnum):
SUCCESS = 0 SUCCESS = 0
FOUND_ERRORS = 1 FOUND_ERRORS = 1
FAILURE = 2 FAILURE = 2
BUCK_ERROR = 3 BUCK_ERROR = 3
SERVER_NOT_FOUND = 4 SERVER_NOT_FOUND = 4
INCONSISTENT_SERVER = 5 INCONSISTENT_SERVER = 5
CONFIGURATION_ERROR = 6
# If the process exited due to a signal, this will be the negative signal nu mber. # If the process exited due to a signal, this will be the negative signal nu mber.
SIGSEGV = -signal.SIGSEGV SIGSEGV = -signal.SIGSEGV
class IncrementalStyle(enum.Enum): class IncrementalStyle(enum.Enum):
SHALLOW = "shallow" SHALLOW = "shallow"
FINE_GRAINED = "fine_grained" FINE_GRAINED = "fine_grained"
def __str__(self) -> str: def __str__(self) -> str:
return self.value return self.value
skipping to change at line 366 skipping to change at line 367
self._noninteractive = True self._noninteractive = True
self._configuration: Configuration = configuration self._configuration: Configuration = configuration
self._version_hash: str = self._configuration.version_hash self._version_hash: str = self._configuration.version_hash
self._taint_models_path: List[str] = self._configuration.taint_models_pa th self._taint_models_path: List[str] = self._configuration.taint_models_pa th
self._analysis_directory: AnalysisDirectory = ( self._analysis_directory: AnalysisDirectory = (
analysis_directory or self.generate_analysis_directory() analysis_directory or self.generate_analysis_directory()
) )
if self._command_arguments.filter_directory is not None:
LOG.warning(
"Warning: `--filter-directory` is deprecated and will be removed
soon."
)
@classmethod @classmethod
def add_subparser(cls, parser: argparse._SubParsersAction) -> None: def add_subparser(cls, parser: argparse._SubParsersAction) -> None:
pass pass
def generate_analysis_directory(self) -> AnalysisDirectory: def generate_analysis_directory(self) -> AnalysisDirectory:
return resolve_analysis_directory( return resolve_analysis_directory(
self._command_arguments.source_directories, self._command_arguments.source_directories,
self._command_arguments.targets, self._command_arguments.targets,
self._configuration, self._configuration,
self._original_directory, self._original_directory,
 End of changes. 2 change blocks. 
0 lines changed or deleted 7 lines changed or added

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