From 0d1b67925157709bc1992ae868d93e63c7622119 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sun, 31 Dec 2023 15:40:01 +0100 Subject: [PATCH] Apply refurb suggestion [FURB180]: Replace `metaclass=abc.ABCMeta` with `abc.ABC` --- src/packaging/specifiers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packaging/specifiers.py b/src/packaging/specifiers.py index e1874327..3466c793 100644 --- a/src/packaging/specifiers.py +++ b/src/packaging/specifiers.py @@ -49,7 +49,7 @@ class InvalidSpecifier(ValueError): """ -class BaseSpecifier(metaclass=abc.ABCMeta): +class BaseSpecifier(abc.ABC): @abc.abstractmethod def __str__(self) -> str: """