Skip to content

Conversation

@caspervonb
Copy link
Collaborator

No description provided.

Signed-off-by: Casper Beyer <[email protected]>
Signed-off-by: Casper Beyer <[email protected]>
Signed-off-by: Casper Beyer <[email protected]>
@caspervonb caspervonb requested a review from Copilot November 4, 2025 12:40
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds comprehensive type hints to the nkeys library to support PEP 561 typed package compliance. The changes enable better IDE support, type checking with mypy, and improved code documentation through type annotations.

  • Adds type annotations to all functions, methods, and class attributes
  • Configures the package as PEP 561 compliant with a py.typed marker file
  • Updates mypy configuration to enable strict type checking with Python 3.8

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
pyproject.toml Adds py.typed to package data, updates mypy to strict mode with Python 3.8, and configures third-party library overrides
nkeys/py.typed Empty marker file indicating the package supports type hints per PEP 561
nkeys/init.py Adds comprehensive type annotations to all functions, methods, class attributes, and improves null safety checks

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@caspervonb caspervonb requested a review from wallyqs November 5, 2025 12:37
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.

1 participant