diff --git a/docs/conf.py b/docs/conf.py index 54598bf..f486b24 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -176,8 +176,7 @@ 'SortedContainers Documentation', author, 'SortedContainers', - 'Python sorted collections library:' - ' sorted list, sorted dict, and sorted set.', + 'Python sorted collections library: sorted list, sorted dict, and sorted set.', 'Miscellaneous', ), ] diff --git a/pyproject.toml b/pyproject.toml index e135023..5fbc6a4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,6 +35,7 @@ version = {attr = "sortedcontainers.__version__"} where = ["src"] [tool.ruff] +target-version = "py38" format.quote-style = "single" [tool.ruff.lint] diff --git a/src/sortedcontainers/sorteddict.py b/src/sortedcontainers/sorteddict.py index 273c9ce..0be576e 100644 --- a/src/sortedcontainers/sorteddict.py +++ b/src/sortedcontainers/sorteddict.py @@ -191,7 +191,7 @@ def iloc(self): return self._iloc except AttributeError: warnings.warn( - 'sorted_dict.iloc is deprecated.' ' Use SortedDict.keys() instead.', + 'sorted_dict.iloc is deprecated. Use SortedDict.keys() instead.', DeprecationWarning, stacklevel=2, )