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

[FEATURE] Add py.typed marker #94

Open
RoketFlame opened this issue Sep 8, 2024 · 0 comments
Open

[FEATURE] Add py.typed marker #94

RoketFlame opened this issue Sep 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@RoketFlame
Copy link

RoketFlame commented Sep 8, 2024

Your project has inline type hints and you don't provide stubs, so according to the PEP documentation you need to add py.typed marker in project.

Do following fix to provide types for type checkers (like mypy):

setup.py

setup(
    ...
    package_data={name: ["py.typed"]},
    ...
)

In bash

touch cfpq_data/py.typed
@RoketFlame RoketFlame added the enhancement New feature or request label Sep 8, 2024
@RoketFlame RoketFlame changed the title [FEATURE] <Feature brief description> [FEATURE] Add py.typed marker Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant