Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update duolingo pre-commit hook to 1.7.0 #38

Merged
merged 1 commit into from
Nov 21, 2023
Merged

Conversation

artnc
Copy link
Member

@artnc artnc commented Nov 21, 2023

https://github.com/duolingo/pre-commit-hooks/releases/tag/1.7.0


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.7.0'

transform() {
  # Update pre-commit hook
  replace_all '(repo: https://github.com/duolingo/pre-commit-hooks\.git.+rev: ).+(\n +hooks:\n +- id: duolingo)' '\11.7.0\2' '\.pre-commit-config\.yaml$'
  duo format \
    || pre-commit run duolingo --files **/*.py \
    || pre-commit run duolingo --files **/*.py \
    || true
}

REPOS='
duolingo/metasearch
duolingo/pulldozer
'

DESCRIPTION='https://github.com/duolingo/pre-commit-hooks/releases/tag/1.7.0'

@artnc artnc enabled auto-merge (squash) November 21, 2023 18:56
@artnc artnc merged commit e4c5c0b into master Nov 21, 2023
1 check passed
@artnc artnc deleted the pulldozer-1700592889 branch November 21, 2023 18:56
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.

1 participant