Skip to content

Commit

Permalink
Apply refurb suggestion
Browse files Browse the repository at this point in the history
[FURB180]: Replace `metaclass=abc.ABCMeta` with `abc.ABC`
  • Loading branch information
DimitriPapadopoulos committed Dec 31, 2023
1 parent 4e990eb commit 0d1b679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packaging/specifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class InvalidSpecifier(ValueError):
"""


class BaseSpecifier(metaclass=abc.ABCMeta):
class BaseSpecifier(abc.ABC):
@abc.abstractmethod
def __str__(self) -> str:
"""
Expand Down

0 comments on commit 0d1b679

Please sign in to comment.