diff --git a/.config/requirements-lock.txt b/.config/requirements-lock.txt index 5876fb0a2f..3db0b72ca9 100644 --- a/.config/requirements-lock.txt +++ b/.config/requirements-lock.txt @@ -4,7 +4,7 @@ # # pip-compile --no-annotate --output-file=.config/requirements-lock.txt --strip-extras --unsafe-package=resolvelib --unsafe-package=ruamel-yaml-clib pyproject.toml # -ansible-compat==4.1.6 +ansible-compat==4.1.7 ansible-core==2.15.3 attrs==23.1.0 black==23.7.0 @@ -12,7 +12,7 @@ bracex==2.3.post1 certifi==2023.7.22 cffi==1.15.1 charset-normalizer==3.2.0 -click==8.1.6 +click==8.1.7 cryptography==41.0.3 filelock==3.12.2 idna==3.4 diff --git a/.config/requirements.txt b/.config/requirements.txt index 47145fbd8a..dca00e76fa 100644 --- a/.config/requirements.txt +++ b/.config/requirements.txt @@ -4,7 +4,7 @@ # # pip-compile --extra=docs --extra=test --no-annotate --output-file=.config/requirements.txt --strip-extras --unsafe-package=resolvelib --unsafe-package=ruamel-yaml-clib pyproject.toml # -ansible-compat==4.1.6 +ansible-compat==4.1.7 ansible-core==2.15.3 astroid==2.15.6 attrs==23.1.0 @@ -62,7 +62,7 @@ mkdocs-minify-plugin==0.6.4 mkdocs-monorepo-plugin==1.0.5 mkdocstrings==0.22.0 mkdocstrings-python==1.1.0 -mypy==1.5.0 +mypy==1.5.1 mypy-extensions==1.0.0 netaddr==0.8.0 packaging==23.1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4ba5257e35..a54f9572ae 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -130,7 +130,7 @@ repos: types: [file, yaml] entry: yamllint --strict - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.0.284" + rev: "v0.0.285" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] @@ -140,7 +140,7 @@ repos: - id: black language_version: python3 - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.5.0 + rev: v1.5.1 hooks: - id: mypy # empty args needed in order to match mypy cli behavior diff --git a/pyproject.toml b/pyproject.toml index 906d57399f..5042a81188 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -223,7 +223,7 @@ python_files = [ xfail_strict = true [tool.ruff] -required-version = "0.0.284" +required-version = "0.0.285" ignore = [ "E501", # we use black "ERA001", # auto-removal of commented out code affects development and vscode integration diff --git a/src/ansiblelint/schemas/__store__.json b/src/ansiblelint/schemas/__store__.json index 44cb54da73..a973408f78 100644 --- a/src/ansiblelint/schemas/__store__.json +++ b/src/ansiblelint/schemas/__store__.json @@ -1,6 +1,6 @@ { "ansible-lint-config": { - "etag": "0ec39ba1ca9c20aea463f7f536c6903c88288f47c1b2b2b3d53b527c293f8cc3", + "etag": "786b5e9ad1a19bebdb964840a32b921201a80adcab0a04fcbd4c926fc9e90335", "url": "https://raw.githubusercontent.com/ansible/ansible-lint/main/src/ansiblelint/schemas/ansible-lint-config.json" }, "ansible-navigator-config": { @@ -48,7 +48,7 @@ "url": "https://raw.githubusercontent.com/ansible/ansible-lint/main/src/ansiblelint/schemas/role-arg-spec.json" }, "rulebook": { - "etag": "402beee94a1dfc2bf8b3d04b8d86af13293db2f7e1b8ce3da90d50f1e96b29f4", + "etag": "ee7f73bde78f2350cc6fc45e5070efaccc79a8f15f9217785df127e28e5ca9f3", "url": "https://raw.githubusercontent.com/ansible/ansible-rulebook/main/ansible_rulebook/schema/ruleset_schema.json" }, "tasks": { diff --git a/src/ansiblelint/schemas/rulebook.json b/src/ansiblelint/schemas/rulebook.json index f613c7bc08..f77328dfe3 100644 --- a/src/ansiblelint/schemas/rulebook.json +++ b/src/ansiblelint/schemas/rulebook.json @@ -351,9 +351,6 @@ "run_module": { "type": "object", "properties": { - "copy_files": { - "type": "boolean" - }, "name": { "type": "string" }, @@ -385,7 +382,10 @@ "type": "number" }, "module_args": { - "type": "object" + "type": [ + "object", + "string" + ] }, "extra_vars": { "type": "object" diff --git a/test/schemas/package-lock.json b/test/schemas/package-lock.json index d2bdf760b9..4797776b01 100644 --- a/test/schemas/package-lock.json +++ b/test/schemas/package-lock.json @@ -16,7 +16,7 @@ "@types/js-yaml": "^4.0.5", "@types/minimatch": "^5.1.2", "@types/mocha": "^10.0.1", - "@types/node": "^20.5.0", + "@types/node": "^20.5.1", "chai": "^4.3.7", "minimatch": "^9.0.3", "mocha": "^10.2.0", @@ -101,9 +101,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.5.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.5.0.tgz", - "integrity": "sha512-Mgq7eCtoTjT89FqNoTzzXg2XvCi5VMhRV6+I2aYanc6kQCBImeNaAYRs/DyoVqk1YEUJK5gN9VO7HRIdz4Wo3Q==" + "version": "20.5.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.5.1.tgz", + "integrity": "sha512-4tT2UrL5LBqDwoed9wZ6N3umC4Yhz3W3FloMmiiG4JwmUJWpie0c7lcnUNd4gtMKuDEO4wRVS8B6Xa0uMRsMKg==" }, "node_modules/@vscode/l10n": { "version": "0.0.13", @@ -1404,9 +1404,9 @@ "dev": true }, "@types/node": { - "version": "20.5.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.5.0.tgz", - "integrity": "sha512-Mgq7eCtoTjT89FqNoTzzXg2XvCi5VMhRV6+I2aYanc6kQCBImeNaAYRs/DyoVqk1YEUJK5gN9VO7HRIdz4Wo3Q==" + "version": "20.5.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.5.1.tgz", + "integrity": "sha512-4tT2UrL5LBqDwoed9wZ6N3umC4Yhz3W3FloMmiiG4JwmUJWpie0c7lcnUNd4gtMKuDEO4wRVS8B6Xa0uMRsMKg==" }, "@vscode/l10n": { "version": "0.0.13", diff --git a/test/schemas/package.json b/test/schemas/package.json index ba58782b1b..fd0c82fcc0 100644 --- a/test/schemas/package.json +++ b/test/schemas/package.json @@ -16,7 +16,7 @@ "@types/js-yaml": "^4.0.5", "@types/minimatch": "^5.1.2", "@types/mocha": "^10.0.1", - "@types/node": "^20.5.0", + "@types/node": "^20.5.1", "chai": "^4.3.7", "minimatch": "^9.0.3", "mocha": "^10.2.0",