From 102291dab0211d9ae5084dbb503102341abab303 Mon Sep 17 00:00:00 2001 From: Lightning Auriga Date: Mon, 21 Aug 2023 14:41:11 -0400 Subject: [PATCH] style: update linter settings and versions --- .lintr | 2 +- .pre-commit-config.yaml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.lintr b/.lintr index 3ae50c2..a1baa8b 100644 --- a/.lintr +++ b/.lintr @@ -1 +1 @@ -linters: linters_with_defaults(object_name_linter("dotted.case"), line_length_linter(120), object_usage_linter=NULL, cyclocomp_linter(20)) +linters: linters_with_defaults(object_name_linter("dotted.case"), line_length_linter(120), object_usage_linter=NULL, cyclocomp_linter(30)) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c896dff..8f2becd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,6 @@ repos: verbose: true ## Note: the following three hooks apply only to R package development - id: roxygenize - additional_dependencies: - - git2r - id: deps-in-desc + args: ["--allow_private_imports"] - id: use-tidy-description