"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tools/sapp/sapp/cli_lib.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).

cli_lib.py  (pyre-check-0.0.53):cli_lib.py  (pyre-check-0.0.54)
skipping to change at line 18 skipping to change at line 18
from functools import wraps from functools import wraps
from typing import Optional from typing import Optional
import click import click
import click_log import click_log
import IPython import IPython
from click import Parameter, Path, argument, option from click import Parameter, Path, argument, option
from traitlets.config import Config from traitlets.config import Config
from .analysis_output import AnalysisOutput from .analysis_output import AnalysisOutput
from .application import start_server
from .context import Context, pass_context from .context import Context, pass_context
from .create_database import CreateDatabase from .create_database import CreateDatabase
from .database_saver import DatabaseSaver from .database_saver import DatabaseSaver
from .db import DB from .db import DB
from .extensions import prompt_extension from .extensions import prompt_extension
from .filesystem import find_root from .filesystem import find_root
from .interactive import Interactive from .interactive import Interactive
from .model_generator import ModelGenerator from .model_generator import ModelGenerator
from .models import PrimaryKeyGenerator from .models import PrimaryKeyGenerator
from .pipeline import Pipeline from .pipeline import Pipeline
from .server import start_server
from .trim_trace_graph import TrimTraceGraph from .trim_trace_graph import TrimTraceGraph
MARKER_DIRECTORIES = [".pyre", ".hg", ".git", ".svn"] MARKER_DIRECTORIES = [".pyre", ".hg", ".git", ".svn"]
logger = logging.getLogger("sapp") logger = logging.getLogger("sapp")
def require_option(current_ctx: click.Context, param_name: str) -> None: def require_option(current_ctx: click.Context, param_name: str) -> None:
"""Throw an exception if an option wasn't required. This is useful when its """Throw an exception if an option wasn't required. This is useful when its
optional in some contexts but required for a subcommand""" optional in some contexts but required for a subcommand"""
 End of changes. 2 change blocks. 
1 lines changed or deleted 1 lines changed or added

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