(
    ctx: click.Context,
    config: str,
    project_root: Optional[Path],
    config_path: Optional[Path],
    path: Tuple[str],
    exclude: Tuple[str],
    fixture_path: Tuple[Path],
    search: Optional[str],
    show_scopes: bool,
    show_docstrings: bool,
    show_dependencies: bool,
    show_dependency_trees: bool,
    full: bool,
)
Show information on fixtures.
Show information on fixtures.
Show information on fixtures .
def fixtures(
    ctx: click.Context,
    config: str,
    project_root: Optional[Path],
    config_path: Optional[Path],
    path: Tuple[str],
    exclude: Tuple[str],
    fixture_path: Tuple[Path],
    search: Optional[str],
    show_scopes: bool,
    show_docstrings: bool,
    show_dependencies: bool,
    show_dependency_trees: bool,
    full: bool,
):
    """Show information on fixtures."""
    configure_path(project_root)
    paths = [Path(p) for p in path]
    mod_infos = get_info_for_modules(paths, exclude)
    modules = list(load_modules(mod_infos))
    tests = list(get_tests_in_modules(modules, capture_output=True))

    filtered_fixtures = list(
        filter_fixtures(_DEFINED_FIXTURES, query=search, paths=fixture_path)
    )

    output_fixtures(
        fixtures=filtered_fixtures,
        tests=tests,
        show_scopes=show_scopes or full,
        show_docstrings=show_docstrings or full,
        show_dependencies=show_dependencies or full,
        show_dependency_trees=show_dependency_trees or full,
    )
def fixtures ( ctx : click . Context , config : str , project_root : Optional [ Path ] , config_path : Optional [ Path ] , path : Tuple [ str ] , exclude : Tuple [ str ] , fixture_path : Tuple [ Path ] , search : Optional [ str ] , show_scopes : bool , show_docstrings : bool , show_dependencies : bool , show_dependency_trees : bool , full : bool , ) : configure_path ( project_root ) paths = [ Path ( p ) for p in path ] mod_infos = get_info_for_modules ( paths , exclude ) modules = list ( load_modules ( mod_infos ) ) tests = list ( get_tests_in_modules ( modules , capture_output = True ) ) filtered_fixtures = list ( filter_fixtures ( _DEFINED_FIXTURES , query = search , paths = fixture_path ) ) output_fixtures ( fixtures = filtered_fixtures , tests = tests , show_scopes = show_scopes or full , show_docstrings = show_docstrings or full , show_dependencies = show_dependencies or full , show_dependency_trees = show_dependency_trees or full , )