Skip to content

Commit

Permalink
Remove six dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ayalash committed Oct 4, 2024
1 parent be36635 commit 2d48c34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"six",
]
dependencies = []
dynamic = ["version"]

authors = [
Expand Down
4 changes: 1 addition & 3 deletions vintage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import functools
import warnings

from six import string_types


_deprecation_warning_enabled: ContextVar[bool] = ContextVar('_deprecation_warning_enabled', default=True)

Expand Down Expand Up @@ -106,7 +104,7 @@ def deprecated(func=None, message=None, since=None, what=None, frame_correction=
.. versionadded:: 0.12
"""
if isinstance(func, string_types):
if isinstance(func, str):
assert message is None
message = func
func = None
Expand Down

0 comments on commit 2d48c34

Please sign in to comment.