Skip to content

Commit

Permalink
Rename color module to output
Browse files Browse the repository at this point in the history
Related: #4396 AAP-36125Related: #4396 AAP-36125ERER
  • Loading branch information
ssbarnea committed Dec 2, 2024
1 parent 64c4e39 commit 6602ebf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
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

0 comments on commit 6602ebf

Please sign in to comment.