From 96b525405631b07c662c2f171778ad9626b23ff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gergely=20Kalm=C3=A1r?= Date: Sun, 5 Sep 2021 20:44:23 +0200 Subject: [PATCH] Fix python-slugify replacements argument type (#6004) Update version field, remove Python 2 compatibility marker --- stubs/python-slugify/METADATA.toml | 3 +-- stubs/python-slugify/slugify/slugify.pyi | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/stubs/python-slugify/METADATA.toml b/stubs/python-slugify/METADATA.toml index 31f638bf3..210c7605b 100644 --- a/stubs/python-slugify/METADATA.toml +++ b/stubs/python-slugify/METADATA.toml @@ -1,2 +1 @@ -version = "0.1" -python2 = true +version = "5.0" diff --git a/stubs/python-slugify/slugify/slugify.pyi b/stubs/python-slugify/slugify/slugify.pyi index 65b3ec6f1..1a3ef13cd 100644 --- a/stubs/python-slugify/slugify/slugify.pyi +++ b/stubs/python-slugify/slugify/slugify.pyi @@ -15,5 +15,5 @@ def slugify( stopwords: Iterable[str] = ..., regex_pattern: str | None = ..., lowercase: bool = ..., - replacements: Iterable[str] = ..., + replacements: Iterable[Iterable[str]] = ..., ) -> str: ...