From 4e748f8a2db8a9467af6c708c53b5d5240289d50 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 7 Jan 2025 01:46:27 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0) - [github.com/crate-ci/typos: v1.24.6 → dictgen-v0.3.1](https://github.com/crate-ci/typos/compare/v1.24.6...dictgen-v0.3.1) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4d4bda95..94bfd17e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ ci: autoupdate_schedule: quarterly repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-added-large-files args: [--maxkb=2000] @@ -22,7 +22,7 @@ repos: - id: sort-simple-yaml - id: trailing-whitespace - repo: https://github.com/crate-ci/typos - rev: v1.24.6 + rev: dictgen-v0.3.1 hooks: - id: typos args: [--exclude=sorbet/rbi/gems, --force-exclude] From 48641b5759bed1299d5612247500b4ac3a039015 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Tue, 7 Jan 2025 12:41:07 -0800 Subject: [PATCH 2/2] Fix typos --- .pre-commit-config.yaml | 2 +- lib/yard-sorbet/handlers/abstract_dsl_handler.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 94bfd17e..3a374ab9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,7 @@ repos: - id: sort-simple-yaml - id: trailing-whitespace - repo: https://github.com/crate-ci/typos - rev: dictgen-v0.3.1 + rev: v1.29.4 hooks: - id: typos args: [--exclude=sorbet/rbi/gems, --force-exclude] diff --git a/lib/yard-sorbet/handlers/abstract_dsl_handler.rb b/lib/yard-sorbet/handlers/abstract_dsl_handler.rb index fa286421..b0ab6f39 100644 --- a/lib/yard-sorbet/handlers/abstract_dsl_handler.rb +++ b/lib/yard-sorbet/handlers/abstract_dsl_handler.rb @@ -3,7 +3,7 @@ module YARDSorbet module Handlers - # Applies an `@abstract` tag to `abstract!`/`interface!` modules (if not alerady present). + # Applies an `@abstract` tag to `abstract!`/`interface!` modules (if not already present). class AbstractDSLHandler < YARD::Handlers::Ruby::Base extend T::Sig