Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Make prerun module public #1483

Merged
merged 1 commit into from
Mar 19, 2021
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
2 changes: 1 addition & 1 deletion src/ansiblelint/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
from enrich.console import should_do_markup

from ansiblelint import cli
from ansiblelint._prerun import check_ansible_presence, prepare_environment
from ansiblelint.app import App
from ansiblelint.color import (
console,
Expand All @@ -44,6 +43,7 @@
from ansiblelint.config import options
from ansiblelint.constants import ANSIBLE_MISSING_RC, EXIT_CONTROL_C_RC
from ansiblelint.file_utils import cwd
from ansiblelint.prerun import check_ansible_presence, prepare_environment
from ansiblelint.skip_utils import normalize_tag
from ansiblelint.version import __version__

Expand Down
1 change: 1 addition & 0 deletions src/ansiblelint/_prerun.py → src/ansiblelint/prerun.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"""Utilities for configuring ansible runtime environment."""
import logging
import os
import pathlib
Expand Down
2 changes: 1 addition & 1 deletion src/ansiblelint/testing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import tempfile
from typing import TYPE_CHECKING, Any, Dict, List, Optional

from ansiblelint._prerun import prepare_environment
from ansiblelint.prerun import prepare_environment

if TYPE_CHECKING:
# https://github.com/PyCQA/pylint/issues/3240
Expand Down