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
24 changes: 12 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ default_language_version:
python: python3.11
repos:
- repo: https://github.com/asottile/add-trailing-comma.git
rev: v3.1.0
rev: v4.0.0
hooks:
- id: add-trailing-comma
args:
- --py36-plus
stages: ["manual"]

- repo: https://github.com/PyCQA/isort
rev: 5.13.2
rev: 9.0.0a3
hooks:
- id: isort
name: Sort import statements using isort
Expand Down Expand Up @@ -44,25 +44,25 @@ repos:
- prettier
- prettier-plugin-toml

- repo: https://github.com/psf/black.git
rev: 24.3.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.3.1
hooks:
- id: black
language_version: python3

- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v8.6.1
rev: v10.0.0
hooks:
- id: cspell
name: Spell check with cspell

- repo: https://github.com/Lucas-C/pre-commit-hooks.git
rev: v1.5.5
rev: v1.5.6
hooks:
- id: remove-tabs

- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v4.5.0
rev: v6.0.0
hooks:
# Side-effects:
- id: trailing-whitespace
Expand All @@ -82,20 +82,20 @@ repos:
- id: debug-statements

- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.4.2
hooks:
- id: codespell

- repo: https://github.com/adrienverge/yamllint.git
rev: v1.35.1
rev: v1.38.0
hooks:
- id: yamllint
args:
- --strict
types: [file, yaml]

- repo: https://github.com/PyCQA/flake8.git
rev: 5.0.4
rev: 7.3.0
hooks:
- id: flake8
alias: flake8
Expand All @@ -107,7 +107,7 @@ repos:
- flake8-docstrings # uses pydocstyle

- repo: https://github.com/pre-commit/mirrors-mypy.git
rev: v1.9.0
rev: v2.0.0
hooks:
- id: mypy
alias: mypy-py311
Expand All @@ -121,7 +121,7 @@ repos:
pass_filenames: false

- repo: https://github.com/pycqa/pylint.git
rev: v3.1.0
rev: v4.0.5
hooks:
- id: pylint
args:
Expand Down
1 change: 0 additions & 1 deletion src/pytest_ansible_network_integration/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
from .utils import calculate_ports
from .utils import playbook


logger = logging.getLogger(__name__)

# Configure logging
Expand Down
1 change: 0 additions & 1 deletion src/pytest_ansible_network_integration/defs.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

from .exceptions import PytestNetworkError


# pylint: enable=no-name-in-module

logger = logging.getLogger(__name__)
Expand Down