Skip to content

Conversation

@evgeny-stakewise
Copy link

@evgeny-stakewise evgeny-stakewise commented Feb 1, 2026

Added py.typed marker file to the package directory to indicate that a package supports static type checking.
Without py.typed: Type checkers treat your library as Any, so users won't get type validation for your functions.

UPD Well, adding py.typed is not enough. Actually PR should add type checker and fix all errors found.


Note

Low Risk
Packaging-only change that marks the library as typed; no runtime logic changes and minimal risk beyond distribution/config correctness.

Overview
Marks py_clob_client as a typed package by adding the py.typed marker and ensuring it is included in the published distribution via package_data in setup.py, enabling static type checkers to use the library’s type hints.

Written by Cursor Bugbot for commit 8633150. This will update automatically on new commits. Configure here.

@evgeny-stakewise evgeny-stakewise requested a review from a team as a code owner February 1, 2026 15:09
Copilot AI review requested due to automatic review settings February 1, 2026 15:09
Copy link
Contributor

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 type checking support to the package by including a py.typed marker file, enabling type checkers like mypy to validate types when users import this library.

Changes:

  • Added py.typed marker file configuration to setup.py

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

@evgeny-stakewise
Copy link
Author

Well, adding py.typed is not enough. Actually PR should add type checker and fix all errors found.
I set WIP for now.

@evgeny-stakewise evgeny-stakewise marked this pull request as draft February 1, 2026 15:46
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