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

Add annotations and doc style to font package. #1093

Merged
merged 13 commits into from Apr 17, 2024

Conversation

caffeinepills
Copy link
Collaborator

Lots of stuff here. TTF module is almost impossible to type due to the class being created inside a function and having no exposed variables. Most likely will be wrong, but not much I can do with that one unfortunately.

Added quote preservation to the config, as well as exceptions to rules for specific non-doc files.

Added some documentation to the user defined font module.

pyglet/font/freetype_lib.py Dismissed Show dismissed Hide dismissed
pyglet/font/freetype_lib.py Dismissed Show dismissed Hide dismissed
from pyglet.font import base
from _ctypes import byref

import pyglet

Check notice

Code scanning / CodeQL

Module is imported with 'import' and 'import from' Note

Module 'pyglet' is imported with both 'import' and 'import from'.
@benmoran56 benmoran56 merged commit 22dba5d into pyglet:master Apr 17, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants