Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#4125)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/psf/black: 23.12.1 →
24.1.1](psf/black@23.12.1...24.1.1)
- [github.com/astral-sh/ruff-pre-commit: v0.1.13 →
v0.1.14](astral-sh/ruff-pre-commit@v0.1.13...v0.1.14)
- [github.com/ansible/ansible-lint: v6.22.1 →
v6.22.2](ansible/ansible-lint@v6.22.1...v6.22.2)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Cristiano Nicolai <570894+cristianonicolai@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] and cristianonicolai authored Feb 2, 2024
1 parent 185ecae commit cf232df
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 5 deletions.
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

0 comments on commit cf232df

Please sign in to comment.