Skip to content

Commit ae36078

Browse files
chore: pre-commit autoupdate (#418)
* chore: pre-commit autoupdate updates: - [github.com/streetsidesoftware/cspell-cli: v8.19.1 → v9.0.1](streetsidesoftware/cspell-cli@v8.19.1...v9.0.1) - [github.com/astral-sh/ruff-pre-commit: v0.11.8 → v0.11.12](astral-sh/ruff-pre-commit@v0.11.8...v0.11.12) - [github.com/pre-commit/mirrors-mypy.git: v1.15.0 → v1.16.0](https://github.com/pre-commit/mirrors-mypy.git/compare/v1.15.0...v1.16.0) - [github.com/jsh9/pydoclint: 0.6.6 → 0.6.7](jsh9/pydoclint@0.6.6...0.6.7) * Fix mypy * Remove unused cast --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: shatakshiiii <[email protected]>
1 parent db8db64 commit ae36078

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ repos:
2424
- prettier
2525
2626
- repo: https://github.com/streetsidesoftware/cspell-cli
27-
rev: v8.19.1
27+
rev: v9.0.1
2828
hooks:
2929
- id: cspell
3030
name: Spell check with cspell
@@ -70,12 +70,12 @@ repos:
7070
- id: tox-ini-fmt
7171

7272
- repo: https://github.com/astral-sh/ruff-pre-commit
73-
rev: v0.11.8
73+
rev: v0.11.12
7474
hooks:
7575
- id: ruff
7676
entry: sh -c 'ruff check --fix --force-exclude && ruff format --force-exclude'
7777
- repo: https://github.com/pre-commit/mirrors-mypy.git
78-
rev: v1.15.0
78+
rev: v1.16.0
7979
hooks:
8080
- id: mypy
8181
additional_dependencies: &deps
@@ -87,7 +87,7 @@ repos:
8787
# Override default pre-commit '--ignore-missing-imports'
8888
args: []
8989
- repo: https://github.com/jsh9/pydoclint
90-
rev: "0.6.6"
90+
rev: "0.6.7"
9191
hooks:
9292
- id: pydoclint
9393
# This allows automatic reduction of the baseline file when needed.

src/ansible_creator/resources/collection_project/plugins/action/sample_action.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class ActionModule(ActionBase): # type: ignore[misc]
6060
# Get the task arguments
6161
if task_vars is None:
6262
task_vars = {}
63-
result = {}
63+
result: Dict[str, Any] = {}
6464
warnings: list[str] = []
6565

6666
# Example processing logic - Replace this with actual action code

tests/fixtures/collection/testorg/testcol/plugins/action/sample_action.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def run(
5555
# Get the task arguments
5656
if task_vars is None:
5757
task_vars = {}
58-
result = {}
58+
result: Dict[str, Any] = {}
5959
warnings: list[str] = []
6060

6161
# Example processing logic - Replace this with actual action code

0 commit comments

Comments
 (0)