Skip to content

Commit

Permalink
Add py.typed to package data (#68)
Browse files Browse the repository at this point in the history
* Add py.typed to package data

Signed-off-by: GitHub <noreply@github.com>

* Make lints happy

Signed-off-by: GitHub <noreply@github.com>

---------

Signed-off-by: GitHub <noreply@github.com>
  • Loading branch information
shenanigansd authored Feb 3, 2024
1 parent 13676a0 commit f8c2272
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
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 = "bradley.reynolds@darbia.dev" },
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

0 comments on commit f8c2272

Please sign in to comment.