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 better typing for slugify.slugify #102

Merged
merged 2 commits into from
May 12, 2021
Merged

Add better typing for slugify.slugify #102

merged 2 commits into from
May 12, 2021

Conversation

fahhem
Copy link
Contributor

@fahhem fahhem commented May 11, 2021

Currently, mypy understands the type as Iterable[str], which doesn't match what should actually be passed in, which is Iterable[Iterable[str]] or, ideally, Iterable[Tuple[str, str]]

Currently, mypy understands the type as `Iterable[str]`, which doesn't match what should actually be passed in, which is `Iterable[Iterable[str]]` or, ideally, `Iterable[Tuple[str, str]]`
@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) to 92.308% when pulling b9ee875 on fahhem:patch-1 into 937779c on un33k:master.

@un33k un33k merged commit a90d967 into un33k:master May 12, 2021
@un33k
Copy link
Owner

un33k commented May 12, 2021

Great and Thx - It will be pushed on the next release cycle.

@fahhem fahhem deleted the patch-1 branch June 4, 2021 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants