Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 2, 2024
1 parent 7dc83ba commit a59d4bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/rules-line-breaks.R
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ remove_empty_lines_after_opening_and_before_closing_braces <- function(pd) {
}


set_line_breaks_between_top_level_exprs <- function(pd, allowed_blank_lines = 2L) {
set_line_breaks_between_top_level_exprs <- function(pd, allowed_blank_lines = 2L) {
pd$lag_newlines <- pmin(pd$lag_newlines, allowed_blank_lines + 1L)
pd
}
4 changes: 2 additions & 2 deletions R/style-guides.R
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ tidyverse_style <- function(scope = "tokens",
if (strict) remove_line_break_before_round_closing_after_curly,
remove_line_breaks_in_fun_dec =
if (strict) remove_line_breaks_in_fun_dec,
set_line_breaks_between_top_level_exprs =
if (strict) set_line_breaks_between_top_level_exprs ,
set_line_breaks_between_top_level_exprs =
if (strict) set_line_breaks_between_top_level_exprs,
style_line_break_around_curly = partial(
style_line_break_around_curly,
strict
Expand Down

0 comments on commit a59d4bb

Please # to comment.