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
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
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
.
pygobject
/
pgi-docgen
Public
Notifications
You must be signed in to change notification settings
Fork
34
Star
141
Code
Issues
43
Pull requests
5
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
[WIP] Stub generation
- #176
#176
Open
kaiw
wants to merge 49 commits into
pygobject:master
pygobject/pgi-docgen:master
from
kaiw:stub-generation
kaiw/pgi-docgen:stub-generation
Copy head branch name to clipboard
Conversation
Commits
49
(49)
Checks
Files changed
Open
[WIP] Stub generation
#176
kaiw
wants to merge 49 commits into
pygobject:master
pygobject/pgi-docgen:master
from
kaiw:stub-generation
kaiw/pgi-docgen:stub-generation
Copy head branch name to clipboard
Commits
Commits on Dec 21, 2018
Add flag member details to stubs
kaiw
committed
d91cbf3
View commit details
Copy full SHA for d91cbf3
Browse repository at this point
Add constant typing to stubs
Show description for 182b6f1
kaiw
committed
182b6f1
View commit details
Copy full SHA for 182b6f1
Browse repository at this point
Add stubs of module-level functions
Show description for 800869b
kaiw
committed
800869b
View commit details
Copy full SHA for 800869b
Browse repository at this point
Add typing details for enums and support functions on class stubs
kaiw
committed
d8d3e7d
View commit details
Copy full SHA for d8d3e7d
Browse repository at this point
Commits on Dec 22, 2018
Rework constant formatting so that we can reuse it for class fields
kaiw
committed
b5c8f07
View commit details
Copy full SHA for b5c8f07
Browse repository at this point
Add typing details for classes
kaiw
committed
1b14ae1
View commit details
Copy full SHA for 1b14ae1
Browse repository at this point
Fix function annotations to insert self for non-static methods
kaiw
committed
fe62d77
View commit details
Copy full SHA for fe62d77
Browse repository at this point
Adapt class stubbing to work for structs as well
kaiw
committed
49a99bd
View commit details
Copy full SHA for 49a99bd
Browse repository at this point
Add stubbing of unions (as though they're classes)
kaiw
committed
afdedb2
View commit details
Copy full SHA for afdedb2
Browse repository at this point
Commits on Dec 23, 2018
Avoid re-stubbing dependency modules multiple times
kaiw
committed
f2c4599
View commit details
Copy full SHA for f2c4599
Browse repository at this point
Update the shebang to use env
Show description for 948e8ee
kaiw
committed
948e8ee
View commit details
Copy full SHA for 948e8ee
Browse repository at this point
Import order cleanup
kaiw
committed
30e9ca7
View commit details
Copy full SHA for 30e9ca7
Browse repository at this point
Handle empty class bodies in stub generation
kaiw
committed
ad9e737
View commit details
Copy full SHA for ad9e737
Browse repository at this point
Handle function arguments with no typing information at all
kaiw
committed
b6ff08f
View commit details
Copy full SHA for b6ff08f
Browse repository at this point
Module prefix all typing annotation strings for import ease
Show description for 82c4cc9
kaiw
committed
82c4cc9
View commit details
Copy full SHA for 82c4cc9
Browse repository at this point
Handle typing and dependency imports for stub generation
kaiw
committed
d967c62
View commit details
Copy full SHA for d967c62
Browse repository at this point
Handling current-module-prefix stripping for stub generation
Show description for 0cedbb1
kaiw
committed
0cedbb1
View commit details
Copy full SHA for 0cedbb1
Browse repository at this point
Check whether fields are valid Python identifiers before annotating
kaiw
committed
c0d06f4
View commit details
Copy full SHA for c0d06f4
Browse repository at this point
Commits on Dec 25, 2018
Handle indirect GI module dependencies for imports
Show description for b5e6591
kaiw
committed
b5e6591
View commit details
Copy full SHA for b5e6591
Browse repository at this point
Generate stubs for pyclasses
Show description for 61b98c6
kaiw
committed
61b98c6
View commit details
Copy full SHA for 61b98c6
Browse repository at this point
Fix incorrect class name quoting
kaiw
committed
1c5ea23
View commit details
Copy full SHA for 1c5ea23
Browse repository at this point
Break out function return value handling for reuse
kaiw
committed
f365caf
View commit details
Copy full SHA for f365caf
Browse repository at this point
Generate stubs for callback signatures
kaiw
committed
c1896b1
View commit details
Copy full SHA for c1896b1
Browse repository at this point
Ignore typing errors for constructors
Show description for 656afda
kaiw
committed
656afda
View commit details
Copy full SHA for 656afda
Browse repository at this point
Commits on Dec 26, 2018
Consolidate all the class-like stubbing
kaiw
committed
140dcf5
View commit details
Copy full SHA for 140dcf5
Browse repository at this point
Reuse enum stub generation code for flags
Show description for d915b89
kaiw
committed
d915b89
View commit details
Copy full SHA for d915b89
Browse repository at this point
Unify GEnum and GFlag code under the generic class stubber
kaiw
committed
eb086d9
View commit details
Copy full SHA for eb086d9
Browse repository at this point
Refactor function stub formatters to be more consistent
kaiw
committed
51e5bd3
View commit details
Copy full SHA for 51e5bd3
Browse repository at this point
Simplify the class-stub-container behaviour
kaiw
committed
05fb137
View commit details
Copy full SHA for 05fb137
Browse repository at this point
Commits on Dec 30, 2018
Handle explicit NoneType types differently
Show description for afa7c5d
kaiw
committed
afa7c5d
View commit details
Copy full SHA for afa7c5d
Browse repository at this point
Commits on Dec 31, 2018
Use the builtins module to explicitly namespace built-in types
Show description for 0cdb17e
kaiw
committed
0cdb17e
View commit details
Copy full SHA for 0cdb17e
Browse repository at this point
Commits on Jan 11, 2019
Remove old-style variable annotations and string-ified class names
Show description for 5342f75
kaiw
committed
5342f75
View commit details
Copy full SHA for 5342f75
Browse repository at this point
Topologically sort GObject classes by MRO to avoid mypy errors
Show description for 462a2a8
kaiw
committed
462a2a8
View commit details
Copy full SHA for 462a2a8
Browse repository at this point
Commits on Jan 13, 2019
Specifically handle an odd `_Value__data__union` annotation in GObject
kaiw
committed
cd18e22
View commit details
Copy full SHA for cd18e22
Browse repository at this point
Break out class-like access for easier testing
kaiw
committed
8246f86
View commit details
Copy full SHA for 8246f86
Browse repository at this point
Annotate GObject.Enum and GObject.Flags as also being integers
Show description for 8ae025e
kaiw
committed
8ae025e
View commit details
Copy full SHA for 8ae025e
Browse repository at this point
noqa a flake8 error
Show description for 17042a5
kaiw
committed
17042a5
View commit details
Copy full SHA for 17042a5
Browse repository at this point
Commits on Aug 10, 2019
Merge branch 'master' into stub-generation
kaiw
committed
fde7826
View commit details
Copy full SHA for fde7826
Browse repository at this point
Fix bad function call in debug path
kaiw
committed
3641107
View commit details
Copy full SHA for 3641107
Browse repository at this point
main: Don't hard-require apt libraries
Show description for 7db61ad
kaiw
committed
7db61ad
View commit details
Copy full SHA for 7db61ad
Browse repository at this point
Ignore spurious nodes in private member check
Show description for 14855eb
kaiw
committed
14855eb
View commit details
Copy full SHA for 14855eb
Browse repository at this point
Commits on Aug 13, 2019
Add support for ignoring type errors in class inheritance
Show description for dde6e34
kaiw
committed
dde6e34
View commit details
Copy full SHA for dde6e34
Browse repository at this point
Allow kwargs for GObject constructors
Show description for 9ef2d3f
kaiw
committed
9ef2d3f
View commit details
Copy full SHA for 9ef2d3f
Browse repository at this point
stubs: Add a method-specific ignore list for bad/weird/unused methods
kaiw
committed
cd92bba
View commit details
Copy full SHA for cd92bba
Browse repository at this point
stubs: Add a way to provide module-level aliases
Show description for a6dffe8
kaiw
committed
a6dffe8
View commit details
Copy full SHA for a6dffe8
Browse repository at this point
Commits on Aug 14, 2019
stubs: Add the start of a list of Liskov issues that aren't fixable
kaiw
committed
ccf067a
View commit details
Copy full SHA for ccf067a
Browse repository at this point
stubs: Add a range of constructor-type names
Show description for f3ed013
kaiw
committed
f3ed013
View commit details
Copy full SHA for f3ed013
Browse repository at this point
Commits on Aug 16, 2019
stubs: Add new module for manual stub additions and handle in generation
Show description for eca1c0e
kaiw
committed
eca1c0e
View commit details
Copy full SHA for eca1c0e
Browse repository at this point
stubs: Make GLib.Flags boolean operators retain flag type
kaiw
committed
992976e
View commit details
Copy full SHA for 992976e
Browse repository at this point
You can’t perform that action at this time.