summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReza Moradi <reza.moradi@oneflow.com>2022-02-26 19:55:55 +0100
committerGitHub <noreply@github.com>2022-02-26 13:55:55 -0500
commit0bf1b8761f695e5ae14d9c439a05b151b4a1093d (patch)
tree16cad088e9036cf413cf55801a178309de003399
parentd968ca7419e6f4e40685888c56d03bea50fd39d7 (diff)
downloadpython-slugify-0bf1b8761f695e5ae14d9c439a05b151b4a1093d.tar.gz
remove type hinting (#113)v6.1.1
-rw-r--r--CHANGELOG.md4
-rw-r--r--slugify/__version__.py2
-rw-r--r--slugify/slugify.py4
3 files changed, 6 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 49f88dd..12d0ff1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
diff --git a/slugify/__version__.py b/slugify/__version__.py
index e14e887..f971770 100644
--- a/slugify/__version__.py
+++ b/slugify/__version__.py
@@ -5,4 +5,4 @@ __description__ = 'A Python slugify application that also handles Unicode'
__url__ = 'https://github.com/un33k/python-slugify'
__license__ = 'MIT'
__copyright__ = 'Copyright 2022 Val Neekman @ Neekware Inc.'
-__version__ = '6.1.0'
+__version__ = '6.1.1'
diff --git a/slugify/slugify.py b/slugify/slugify.py
index ae6c9b6..b8c02ad 100644
--- a/slugify/slugify.py
+++ b/slugify/slugify.py
@@ -1,6 +1,5 @@
import re
import sys
-import typing
import unicodedata
from html.entities import name2codepoint
@@ -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