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

Add py.typed to package data #68

Merged
merged 2 commits into from
Feb 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/source/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.. See docs for details on formatting your entries
https://releases.readthedocs.io/en/latest/concepts.html

Changelog
=========

- :release:`5.0.1 <3rd February 2024>`
- :bug:`67` Use a single function to get versioned package metadata

- :release:`5.0.0 <31st July 2023>`
- :feature:`48` Replace requests and aiohttp with HTTPX
- :feature:`35` Add sync client
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "letsbuilda-pypi"
version = "5.0.0"
version = "5.0.1"
description = "A wrapper for PyPI's API and RSS feed"
authors = [
{ name = "Bradley Reynolds", email = "[email protected]" },
Expand Down Expand Up @@ -37,6 +37,9 @@ docs = [
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[tool.setuptools.package-data]
"letsbuilda.pypi" = ["py.typed"]

[tool.black]
target-version = ["py311"]
line-length = 120
Expand Down
4 changes: 2 additions & 2 deletions src/letsbuilda/pypi/models/models_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class Vulnerability:
"""Security vulnerability."""

id: str # noqa: A003 - fields named exactly the same as the upstream
id: str
aliases: list[str]
link: str
source: str
Expand Down Expand Up @@ -99,7 +99,7 @@ class Info:
downloads: Downloads
home_page: str
keywords: str
license: str # noqa: A003 - fields named exactly the same as the upstream
license: str
maintainer: str
maintainer_email: str
name: str
Expand Down
Loading