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
2 changes: 1 addition & 1 deletion stubs/python-slugify/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "6.1.*"
version = "7.0.*"

[tool.stubtest]
ignore_missing_stub = false
10 changes: 10 additions & 0 deletions stubs/python-slugify/slugify/__init__.pyi
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
from .__version__ import (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't these all be explicit re-exports (__author__ as __author__, etc)?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, they should. I started off with from .__version__ import *, but that didn't work and I lost the re-export when fixing that

__author__,
__author_email__,
__copyright__,
__description__,
__license__,
__title__,
__url__,
__version__,
)
from .slugify import *
from .special import *