Skip to content
This repository has been archived by the owner on Jan 8, 2023. It is now read-only.

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Jan 6, 2023
1 parent 7e18548 commit 525682d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 13 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ exclude: |
)
repos:
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
rev: 5.11.4
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.6.0
rev: 22.12.0
hooks:
- id: black
language_version: python3
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v4.3.0
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
Expand All @@ -29,7 +29,7 @@ repos:
- id: debug-statements
language_version: python3
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
rev: 6.0.0
hooks:
- id: flake8
additional_dependencies:
Expand All @@ -39,7 +39,7 @@ repos:
- flake8-docstrings>=1.5.0
language_version: python3
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.961
rev: v0.991
hooks:
- id: mypy
# empty args needed in order to match mypy cli behavior
Expand All @@ -48,16 +48,18 @@ repos:
pass_filenames: false
additional_dependencies:
- ansible-compat>=0.5.0
- molecule>=3.5.0a0
- molecule>=4.0
- packaging
- repo: https://github.com/pre-commit/mirrors-pylint
rev: v3.0.0a5
- types-PyYAML
- repo: https://github.com/pycqa/pylint
rev: v2.15.9
hooks:
- id: pylint
additional_dependencies:
- ansible-core>=2.11.1
- molecule>=3.5.0a0
- ansible-core>=2.14.1
- molecule>=4.0
- pytest
- repo: https://github.com/ansible/ansible-lint.git
rev: v6.3.0
rev: v6.10.2
hooks:
- id: ansible-lint
2 changes: 0 additions & 2 deletions src/molecule_podman/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
from shutil import which
from typing import Dict

from ansible_compat.ports import cache
from ansible_compat.runtime import Runtime
from molecule import logger, util
from molecule.api import Driver, MoleculeRuntimeWarning
Expand Down Expand Up @@ -214,7 +213,6 @@ def ansible_connection_options(self, instance_name):
"ansible_podman_executable": f"{self.podman_exec}",
}

@cache
def sanity_checks(self):
"""Implement Podman driver sanity checks."""
log.info("Sanity checks: '%s'", self._name)
Expand Down

0 comments on commit 525682d

Please sign in to comment.