Skip to content

Commit

Permalink
remove type hinting (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrezzamoradi authored Feb 26, 2022
1 parent d968ca7 commit 0bf1b87
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 6.1.1

- Remove type hinting (temporarily)

## 6.1.0

- Add `allow_unicode` flag to allow unicode characters in the slug
Expand Down
2 changes: 1 addition & 1 deletion slugify/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
__url__ = 'https://github.com/un33k/python-slugify'
__license__ = 'MIT'
__copyright__ = 'Copyright 2022 Val Neekman @ Neekware Inc.'
__version__ = '6.1.0'
__version__ = '6.1.1'
4 changes: 1 addition & 3 deletions slugify/slugify.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import re
import sys
import typing
import unicodedata
from html.entities import name2codepoint

Expand Down Expand Up @@ -67,8 +66,7 @@ def smart_truncate(string, max_length=0, word_boundary=False, separator=' ', sav

def slugify(text, entities=True, decimal=True, hexadecimal=True, max_length=0, word_boundary=False,
separator=DEFAULT_SEPARATOR, save_order=False, stopwords=(), regex_pattern=None, lowercase=True,
replacements: typing.Iterable[typing.Iterable[str]] = (),
allow_unicode=False):
replacements=(), allow_unicode=False):
"""
Make a slug from the given text.
:param text (str): initial text
Expand Down

0 comments on commit 0bf1b87

Please sign in to comment.