Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Rename color module to output #4433

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/ansiblelint/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,6 @@
from ansiblelint import cli
from ansiblelint._mockings import _perform_mockings_cleanup
from ansiblelint.app import get_app
from ansiblelint.color import (
console,
console_options,
console_stderr,
reconfigure,
render_yaml,
)
from ansiblelint.config import (
Options,
get_deps_versions,
Expand All @@ -66,6 +59,13 @@
options,
)
from ansiblelint.loaders import load_ignore_txt
from ansiblelint.output import (
console,
console_options,
console_stderr,
reconfigure,
render_yaml,
)
from ansiblelint.runner import get_matches
from ansiblelint.skip_utils import normalize_tag
from ansiblelint.version import __version__
Expand Down
2 changes: 1 addition & 1 deletion src/ansiblelint/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@

from ansiblelint import formatters
from ansiblelint._mockings import _perform_mockings
from ansiblelint.color import console, console_stderr, render_yaml
from ansiblelint.config import PROFILES, Options, get_version_warning
from ansiblelint.config import options as default_options
from ansiblelint.constants import RC, RULE_DOC_URL
from ansiblelint.loaders import IGNORE_FILE
from ansiblelint.output import console, console_stderr, render_yaml
from ansiblelint.requirements import Reqs
from ansiblelint.stats import SummarizedResults, TagStats

Expand Down
2 changes: 1 addition & 1 deletion src/ansiblelint/color.py → src/ansiblelint/output.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Console coloring and terminal support."""
"""Console support: coloring and terminal code."""

from __future__ import annotations

Expand Down
Loading