diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4f34c10b7..0ad306e94 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,12 +1,12 @@ # All available hooks: https://pre-commit.com/hooks.html # R specific hooks: https://github.com/lorenzwalthert/precommit -default_stages: [commit] +default_stages: [pre-commit] default_language_version: python: python3 repos: - repo: https://github.com/lorenzwalthert/precommit - rev: v0.4.2 + rev: v0.4.3.9003 hooks: - id: style-files args: diff --git a/man/reduce_extra_blank_lines_between_scopes.Rd b/man/reduce_extra_blank_lines_between_scopes.Rd new file mode 100644 index 000000000..37a7a44bc --- /dev/null +++ b/man/reduce_extra_blank_lines_between_scopes.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/rules-line-breaks.R +\name{reduce_extra_blank_lines_between_scopes} +\alias{reduce_extra_blank_lines_between_scopes} +\title{Reduce multiple blank lines to a maximum number of allowed blank lines} +\usage{ +reduce_extra_blank_lines_between_scopes(pd_flat, allowed_blank_lines = 2L) +} +\arguments{ +\item{pd_flat}{A flat parse table.} + +\item{allowed_blank_lines}{The maximum number of allowed blank lines between code elements. Default is \code{2L}.} +} +\description{ +Reduce multiple blank lines to a maximum number of allowed blank lines +} +\keyword{internal}