Skip to content
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
4 changes: 3 additions & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ ChangeLog
3.3.3 (unreleased)
------------------

- Nothing changed yet.
*New:*

- Publish type annotations


3.3.2 (2025-02-03)
Expand Down
2 changes: 1 addition & 1 deletion factory/declarations.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ def call(self, instance, step, context): # pragma: no cover
Args:
instance (object): the newly generated object
step (bool): whether the object was 'built' or 'created'
context: a builder.PostGenerationContext containing values
context: a declarations.PostGenerationContext containing values
extracted from the containing factory's declaration
"""
raise NotImplementedError()
Expand Down
Empty file added factory/py.typed
Empty file.
5 changes: 5 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ classifiers =
Development Status :: 5 - Production/Stable
Framework :: Django
Framework :: Django :: 4.2
Framework :: Django :: 5.0
Framework :: Django :: 5.1
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Expand Down Expand Up @@ -58,6 +59,10 @@ doc =
sphinx_rtd_theme
sphinxcontrib-spelling

[options.package_data]
factory =
py.typed

[bdist_wheel]
universal = 1

Expand Down
Loading