Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to 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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
python-humanize
/
humanize
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
132
Star
744
Code
Issues
14
Pull requests
24
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Add type hints
- #15
#15
Merged
hugovk
merged 12 commits into
python-humanize:main
python-humanize/humanize:main
from
hugovk:typing
hugovk/humanize:typing
Copy head branch name to clipboard
Jun 13, 2022
Conversation
Commits
12
(12)
Checks
Files changed
Merged
Add type hints
#15
hugovk
merged 12 commits into
python-humanize:main
python-humanize/humanize:main
from
hugovk:typing
hugovk/humanize:typing
Copy head branch name to clipboard
Commits
Commits on May 3, 2022
Typing: ignore second import
hugovk
committed
9b83619
View commit details
Copy full SHA for 9b83619
Browse repository at this point
Autotyping: add -> None return type to functions without any return, yield, or raise in their body
hugovk
committed
a6699f5
View commit details
Copy full SHA for a6699f5
Browse repository at this point
Autotyping: add a : bool annotation to any function parameter with a default of True or False
hugovk
committed
7971aa6
View commit details
Copy full SHA for 7971aa6
Browse repository at this point
Autotyping: add an annotation to any parameter for which the default is a literal int, float, str object
hugovk
committed
4de3e74
View commit details
Copy full SHA for 4de3e74
Browse repository at this point
Move final return out of else
hugovk
committed
a4cacf0
View commit details
Copy full SHA for a4cacf0
Browse repository at this point
Add type hints
Show description for e8f0e85
hugovk
and
coiax
committed
e8f0e85
View commit details
Copy full SHA for e8f0e85
Browse repository at this point
Commits on May 4, 2022
Silence PyCharm more generically
Show description for 0a86628
hugovk
and
coiax
authored
0a86628
View commit details
Copy full SHA for 0a86628
Browse repository at this point
Replace deprecated typing.Iterable with collections.abc.Iterable
hugovk
committed
c86b138
View commit details
Copy full SHA for c86b138
Browse repository at this point
Replace 'int | float' with 'float'
hugovk
committed
54af2f9
View commit details
Copy full SHA for 54af2f9
Browse repository at this point
Commits on Jun 12, 2022
Use the new experimental handler instead of the legacy one to fix typing bug
hugovk
committed
dfc69cb
View commit details
Copy full SHA for dfc69cb
Browse repository at this point
Fix WARNING - griffe: humanize/time.py:104: Parameter 'when' does not appear in the function signature
hugovk
committed
5641b0e
View commit details
Copy full SHA for 5641b0e
Browse repository at this point
Fix GHA caching
hugovk
committed
f550e98
View commit details
Copy full SHA for f550e98
Browse repository at this point
You can’t perform that action at this time.