Skip to content

Update duolingo pre-commit hook to 1.15.0 (TOOLS-592) - #72

Merged
Alek Binion (biniona) merged 1 commit into
masterfrom
pulldozer-1777933005
May 5, 2026
Merged

Update duolingo pre-commit hook to 1.15.0 (TOOLS-592)#72
Alek Binion (biniona) merged 1 commit into
masterfrom
pulldozer-1777933005

Conversation

@artnc

Copy link
Copy Markdown
Member

This yearly upgrade does the following and should be fairly safe:

  • Updates all formatting tools to their latest versions
  • Sorts TypeScript interface members automatically
  • Adds native arm64 support
  • Removes Python 2 support
  • Hides autogenerated AI rule files in GitHub diffs by default

Click here to view the Pulldozer transformation script used to create this PR
#!/usr/bin/env sh

COMMIT_MESSAGE='Update `duolingo` pre-commit hook to 1.15.0 (TOOLS-592)'

transform() {
  replace_all '(repo: https://github.com/duolingo/pre-commit-hooks\.git.+rev: ).+(\n +hooks:\n +- id: duolingo)' '\11.15.0\2' '\.pre-commit-config\.yaml$'
  duo format || true
}

REPOS='
duolingo/pulldozer
duolingo/metasearch
duolingo/minject
duolingo/splinter
'

DESCRIPTION='This yearly upgrade does the following and should be fairly safe:

- Updates all formatting tools to their latest versions
- Sorts TypeScript interface members automatically
- Adds native arm64 support
- Removes Python 2 support
- Hides autogenerated AI rule files in GitHub diffs by default'

@biniona
Alek Binion (biniona) merged commit bb0693f into master May 5, 2026
6 of 11 checks passed
@biniona
Alek Binion (biniona) deleted the pulldozer-1777933005 branch May 5, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants