Coverage for lintro / utils / tool_utils.py: 100%
4 statements
« prev ^ index » next coverage.py v7.13.0, created at 2026-04-03 18:53 +0000
« prev ^ index » next coverage.py v7.13.0, created at 2026-04-03 18:53 +0000
1"""Tool utilities for handling core operations.
3This module provides backward compatibility by re-exporting functions
4that have been moved to focused modules.
5"""
7# Re-exports for backward compatibility
8from lintro.utils.output import format_tool_output
9from lintro.utils.path_filtering import (
10 should_exclude_path,
11 walk_files_with_excludes,
12)
14__all__ = [
15 "format_tool_output",
16 "VENV_PATTERNS",
17 "should_exclude_path",
18 "walk_files_with_excludes",
19]
21# Legacy constants (kept for backward compatibility)
22VENV_PATTERNS: list[str] = [
23 "venv",
24 "env",
25 "ENV",
26 ".venv",
27 ".env",
28 "virtualenv",
29 "virtual_env",
30 "virtualenvs",
31 "site-packages",
32 "node_modules",
33]