From 876406774d9b98c7b3afa24c3a0c901215f87029 Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Sun, 27 Oct 2024 12:52:23 +0100 Subject: [PATCH] Version 0.0.16 (#177) --- CHANGELOG.md | 4 ++++ multipart/__init__.py | 1 + pyproject.toml | 17 +++++++++-------- python_multipart/__init__.py | 2 +- 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a08dc65..56dbb3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.0.16 (2024-10-27) + +* Add dunder attributes to `multipart` package [#177](https://github.com/Kludex/python-multipart/pull/177). + ## 0.0.15 (2024-10-27) * Replace `FutureWarning` to `PendingDeprecationWarning` [#174](https://github.com/Kludex/python-multipart/pull/174). diff --git a/multipart/__init__.py b/multipart/__init__.py index f28c0c3..cdc0154 100644 --- a/multipart/__init__.py +++ b/multipart/__init__.py @@ -18,3 +18,4 @@ else: warnings.warn("Please use `import python_multipart` instead.", PendingDeprecationWarning, stacklevel=2) from python_multipart import * + from python_multipart import __all__, __author__, __copyright__, __license__, __version__ diff --git a/pyproject.toml b/pyproject.toml index 12e4922..e22ea1d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -68,7 +68,13 @@ Source = "https://github.com/Kludex/python-multipart" path = "python_multipart/__init__.py" [tool.hatch.build.targets.sdist] -include = ["/python_multipart", "/multipart", "/tests", "CHANGELOG.md", "LICENSE.txt"] +include = [ + "/python_multipart", + "/multipart", + "/tests", + "CHANGELOG.md", + "LICENSE.txt", +] [tool.hatch.build.targets.wheel] packages = ["python_multipart", "multipart"] @@ -92,6 +98,7 @@ split-on-trailing-comma = false [tool.ruff.lint.per-file-ignores] "multipart/*.py" = ["F403"] +"__init__.py" = ["F401"] [tool.coverage.run] branch = false @@ -115,10 +122,4 @@ exclude_lines = [ ] [tool.check-sdist] -git-only = [ - "docs", - "fuzz", - "scripts", - "mkdocs.yml", - "uv.lock" -] +git-only = ["docs", "fuzz", "scripts", "mkdocs.yml", "uv.lock"] diff --git a/python_multipart/__init__.py b/python_multipart/__init__.py index 88df444..a2d50d2 100644 --- a/python_multipart/__init__.py +++ b/python_multipart/__init__.py @@ -2,7 +2,7 @@ __author__ = "Andrew Dunham" __license__ = "Apache" __copyright__ = "Copyright (c) 2012-2013, Andrew Dunham" -__version__ = "0.0.15" +__version__ = "0.0.16" from .multipart import ( BaseParser,