internetarchive / internetarchive/openlibrary

Create more type hints from MonkeyType

Open
#8,028 16 comments 0 reactions 0 assignees View on GitHub
Lead: @scottbarnes Priority: 3 Theme: Development
Dominant language
Python
Stars
6.7k
Forks
2k
Avg merge
2d 19h
Merged PRs (30d)
138

Description

It would be nice to have more type hints in the code base, and [MonkeyType](https://github.com/instagram/MonkeyType) can help with that by generating type hints that are collected at runtime.

This is an issue to keep track of work on that.

- [ ] Make it easier for people to take a file and start working on it.
- [ ] Write documentation to help ease people into type hinting the code base.

A brief example of how MonkeyType can be used on this code base: #7934

## Pull requests that add type hints from MonkeyType
1. openlibrary/plugins/upstream/utils.py (#7998)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.