Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Add type hints and update packaging #77

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

J-M0
Copy link

@J-M0 J-M0 commented May 5, 2021

This is kind of a big PR that does a bunch to add type hints to netifaces:

  • Updated to latest packaging standards
  • Reorganized modules to support type hints
  • Added __init__.pyi with type hints
  • Updated docstrings to make their view in help() a little nicer

I know you mentioned in #39 that not all constants are available for all platforms. If you know of some conditions to gate constants to certain platforms I can easily add them.

Also, if these changes are too much at once, I can easily break this up into smaller PRs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant