Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
pre-commit
pre-commit
Repository navigation
Code
Issues
17
(17)
Pull requests
8
(8)
Actions
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
pre-commit
pre_commit
hook.py
on
v4.7.0
User selector
All users
Datepicker
All time
Commit history
Commits on Oct 28, 2023
python3.9+
asottile
committed
7f15dc7
View commit details
Copy full SHA for 7f15dc7
View code at this point
Browse repository at this point
Commits on Jan 16, 2023
adjust the run_hook api to no longer take Hook
asottile
committed
628c876
View commit details
Copy full SHA for 628c876
View code at this point
Browse repository at this point
Commits on Jan 18, 2022
drop python 3.6 support
Show description for 04de6a2
asottile
committed
04de6a2
View commit details
Copy full SHA for 04de6a2
View code at this point
Browse repository at this point
Commits on Oct 22, 2021
Add fail_fast support per-hook
colens3
authored and
asottile
committed
63ae399
View commit details
Copy full SHA for 63ae399
View code at this point
Browse repository at this point
Commits on Nov 2, 2020
add types_or
MarcoGorelli
committed
62f668f
View commit details
Copy full SHA for 62f668f
View code at this point
Browse repository at this point
Commits on Jan 15, 2020
move Hook data type to a separate file
asottile
committed
755b800
View commit details
Copy full SHA for 755b800
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.