diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ef565a2..c09157d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,7 +26,7 @@ repos: - id: python-use-type-annotations - id: text-unicode-replacement-char - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.17 + rev: v0.16.9 hooks: - id: ruff-check - id: ruff-format @@ -40,7 +40,7 @@ repos: ] args: [--wrap, "88"] - repo: https://github.com/crate-ci/typos - rev: v1 + rev: v1.50.3 hooks: - id: typos - repo: meta diff --git a/tests/conftest.py b/tests/conftest.py index e3233eb..b34f102 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -21,14 +21,18 @@ ("parse_config_code", "serializer", "suffix"), [ ( - "library(jsonlite); args <- commandArgs(trailingOnly=TRUE); " - "config <- read_json(args[length(args)])", + ( + "library(jsonlite); args <- commandArgs(trailingOnly=TRUE); " + "config <- read_json(args[length(args)])" + ), "json", ".json", ), ( - "library(yaml); args <- commandArgs(trailingOnly=TRUE); " - "config <- read_yaml(args[length(args)])", + ( + "library(yaml); args <- commandArgs(trailingOnly=TRUE); " + "config <- read_yaml(args[length(args)])" + ), "yaml", ".yaml", ),