Skip to content
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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repos:
hooks:
- id: codespell
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
language_version: python3
Expand All @@ -47,7 +47,7 @@ repos:
types: [file, yaml]
entry: yamllint --strict
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.13"
rev: "v0.1.14"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down Expand Up @@ -94,6 +94,6 @@ repos:
- pytest-testinfra
- wcmatch
- repo: https://github.com/ansible/ansible-lint
rev: v6.22.1
rev: v6.22.2
hooks:
- id: ansible-lint
1 change: 0 additions & 1 deletion conftest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""PyTest Config File."""


import os

import pytest
Expand Down
1 change: 1 addition & 0 deletions src/molecule/app.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Molecule Application Module."""

from ansible_compat.runtime import Runtime


Expand Down
1 change: 1 addition & 0 deletions src/molecule/console.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Console and terminal utilities."""

import os
import sys
from typing import Any
Expand Down
1 change: 0 additions & 1 deletion src/molecule/constants.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Constants used by molecule."""


RC_SUCCESS = 0
RC_TIMEOUT = 3
RC_SETUP_ERROR = 4 # Broken setup, like missing Ansible
Expand Down
1 change: 1 addition & 0 deletions src/molecule/dependency/ansible_galaxy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Base definition for Ansible Galaxy dependencies."""

from molecule import util
from molecule.dependency.ansible_galaxy.collections import Collections
from molecule.dependency.ansible_galaxy.roles import Roles
Expand Down
1 change: 1 addition & 0 deletions src/molecule/dependency/ansible_galaxy/collections.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Ansible Galaxy dependencies for lists of collections."""

import logging
import os

Expand Down
1 change: 1 addition & 0 deletions src/molecule/dependency/ansible_galaxy/roles.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Ansible Galaxy dependencies for lists of roles."""

import logging
import os

Expand Down
1 change: 1 addition & 0 deletions src/molecule/driver/delegated.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ class Delegated(Driver):
ansible_connection: local
```
"""

title = "Default driver, user is expected to manage provisioning of test resources."

def __init__(self, config=None) -> None:
Expand Down
1 change: 1 addition & 0 deletions src/molecule/text.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Text utils."""

import re


Expand Down