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 }}
timhoffm
pre-commit
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
pre-commit
pre_commit
envcontext.py
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 29, 2024
[pre-commit.ci] auto fixes from pre-commit.com hooks
Show description for 917e210
pre-commit-ci[bot]
committed
917e210
View commit details
Copy full SHA for 917e210
View code at this point
Browse repository at this point
Commits on Oct 28, 2023
python3.9+
Anthony Sottile
committed
7f15dc7
View commit details
Copy full SHA for 7f15dc7
View code at this point
Browse repository at this point
Commits on Jan 18, 2022
drop python 3.6 support
Show description for 04de6a2
Anthony Sottile
committed
04de6a2
View commit details
Copy full SHA for 04de6a2
View code at this point
Browse repository at this point
Commits on Nov 9, 2020
use slightly simpler enum syntax
Anthony Sottile
committed
55cdfc6
View commit details
Copy full SHA for 55cdfc6
View code at this point
Browse repository at this point
Commits on Oct 28, 2020
Replace EnvironT with MutableMapping[str, str]
Anthony Sottile
committed
24dfeed
View commit details
Copy full SHA for 24dfeed
View code at this point
Browse repository at this point
Commits on Jan 12, 2020
Add types to pre-commit
Anthony Sottile
committed
327ed92
View commit details
Copy full SHA for 327ed92
View code at this point
Browse repository at this point
mypy passes with check_untyped_defs
Anthony Sottile
committed
fa536a8
View commit details
Copy full SHA for fa536a8
View code at this point
Browse repository at this point
upgrade hooks, pyupgrade pre-commit
Anthony Sottile
committed
30c1e82
View commit details
Copy full SHA for 30c1e82
View code at this point
Browse repository at this point
Commits on Sep 30, 2017
Small cleanups
Anthony Sottile
committed
18c9e06
View commit details
Copy full SHA for 18c9e06
View code at this point
Browse repository at this point
Commits on Feb 16, 2017
__defaults__ is available in py27
Anthony Sottile
committed
e4eb2b0
View commit details
Copy full SHA for e4eb2b0
View code at this point
Browse repository at this point
Commits on Mar 25, 2016
Add envcontext helper
Anthony Sottile
committed
00a3a9a
View commit details
Copy full SHA for 00a3a9a
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.