Skip to content
Open
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
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
pypi:
name: Publish to PyPI registry
environment: release
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
id-token: write

Expand All @@ -20,7 +20,7 @@ jobs:

steps:
- name: Switch to using Python 3.13 by default
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.13"

Expand All @@ -32,7 +32,7 @@ jobs:
tox

- name: Check out src from Git
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0 # needed by setuptools-scm

Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ ci:
- renovate-config-validator # container limits
repos:
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 41.98.0
rev: 41.122.1
hooks:
- id: renovate-config-validator
alias: renovate
args: [--strict]
- repo: https://github.com/biomejs/pre-commit
rev: "v2.2.3"
rev: "v2.2.4"
hooks:
- id: biome-check
name: biome
Expand Down Expand Up @@ -57,20 +57,20 @@ repos:
- id: debug-statements
language_version: python3
- repo: https://github.com/pappasam/toml-sort
rev: v0.24.2
rev: v0.24.3
hooks:
- id: toml-sort-fix
alias: toml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.12
rev: v0.13.1
hooks:
- id: ruff-format
alias: ruff
- id: ruff-check
args: ["--fix"]
alias: ruff
- repo: https://github.com/ansible/ansible-lint
rev: v25.8.2
rev: v25.9.0
hooks:
- id: ansible-lint
entry: env ANSIBLE_ROLES_PATH="$ANSIBLE_ROLES_PATH:test/roles" ansible-lint
Expand Down
2 changes: 1 addition & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
from pathlib import Path

import pytest
from molecule.app import get_app

from molecule import config, logger
from molecule.app import get_app

LOG = logger.get_logger(__name__)

Expand Down
3 changes: 2 additions & 1 deletion src/molecule_plugins/azure/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@
# DEALINGS IN THE SOFTWARE.
import os

from molecule import logger, util
from molecule.api import Driver

from molecule import logger, util

LOG = logger.get_logger(__name__)


Expand Down
3 changes: 2 additions & 1 deletion src/molecule_plugins/docker/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@

import os

from molecule import logger
from molecule.api import Driver
from molecule.util import sysexit_with_message

from molecule import logger

log = logger.get_logger(__name__)


Expand Down
3 changes: 2 additions & 1 deletion src/molecule_plugins/ec2/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@
except ImportError:
HAS_BOTO3 = False

from molecule import logger, util
from molecule.api import Driver

from molecule import logger, util

LOG = logger.get_logger(__name__)


Expand Down
3 changes: 2 additions & 1 deletion src/molecule_plugins/gce/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@
# DEALINGS IN THE SOFTWARE.
import os

from molecule import logger, util
from molecule.api import Driver

from molecule import logger, util

LOG = logger.get_logger(__name__)


Expand Down
3 changes: 2 additions & 1 deletion src/molecule_plugins/openstack/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
import os
from importlib import import_module

from molecule import logger, util
from molecule.api import Driver

from molecule import logger, util

LOG = logger.get_logger(__name__)


Expand Down
6 changes: 3 additions & 3 deletions src/molecule_plugins/podman/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
from shutil import which

from ansible_compat.runtime import Runtime
from packaging.version import Version

from molecule import logger, util
from molecule.api import Driver, MoleculeRuntimeWarning
from molecule.app import get_app
from molecule.constants import RC_SETUP_ERROR
from molecule.util import sysexit_with_message
from packaging.version import Version

from molecule import logger, util

log = logger.get_logger(__name__)

Expand Down
3 changes: 2 additions & 1 deletion src/molecule_plugins/vagrant/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@
import os
from shutil import which

from molecule import logger, util
from molecule.api import Driver

from molecule import logger, util

LOG = logger.get_logger(__name__)


Expand Down
2 changes: 1 addition & 1 deletion test/azure/functional/test_azure.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
from pathlib import Path

import pytest
from molecule.app import get_app

from conftest import change_dir_to
from molecule import logger
from molecule.app import get_app

LOG = logger.get_logger(__name__)

Expand Down
3 changes: 2 additions & 1 deletion test/containers/functional/test_containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@
import os
from pathlib import Path

from molecule.app import get_app

from conftest import change_dir_to, molecule_directory
from molecule import logger
from molecule.app import get_app

LOG = logger.get_logger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion test/docker/test_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
from pathlib import Path

import pytest
from molecule.app import get_app

from conftest import change_dir_to
from molecule import logger
from molecule.app import get_app

LOG = logger.get_logger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion test/ec2/functional/test_ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
from pathlib import Path

import pytest
from molecule.app import get_app

from conftest import change_dir_to, metadata_lint_update
from molecule import logger
from molecule.app import get_app

LOG = logger.get_logger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion test/gce/functional/test_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
from pathlib import Path

import pytest
from molecule.app import get_app

from conftest import change_dir_to, metadata_lint_update
from molecule import logger
from molecule.app import get_app

LOG = logger.get_logger(__name__)
driver_name = __name__.split(".")[0].split("_")[-1]
Expand Down
2 changes: 1 addition & 1 deletion test/openstack/test_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
from pathlib import Path

import pytest
from molecule.app import get_app

import openstack
from conftest import change_dir_to
from molecule import logger
from molecule.app import get_app

LOG = logger.get_logger(__name__)

Expand Down
3 changes: 2 additions & 1 deletion test/podman/test_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
import subprocess
from pathlib import Path

from molecule.app import get_app

from conftest import change_dir_to
from molecule import logger
from molecule.app import get_app
from molecule_plugins.podman import __file__ as module_file

LOG = logger.get_logger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion test/vagrant-plugin/functional/test_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@

import pytest
import vagrant
from molecule.app import get_app

from conftest import change_dir_to
from molecule import logger, util
from molecule.app import get_app

LOG = logger.get_logger(__name__)

Expand Down
Loading
Loading