commit:     d5afb9396346528555955edaff95703e23cdd90b
Author:     Brian Harring <ferringb <AT> gmail <DOT> com>
AuthorDate: Sat Nov 22 19:57:30 2025 +0000
Commit:     Brian Harring <ferringb <AT> gmail <DOT> com>
CommitDate: Sat Nov 22 19:57:30 2025 +0000
URL:        
https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=d5afb939

chore: drop uneeded raise NotImplementedError due to protocol

Signed-off-by: Brian Harring <ferringb <AT> gmail.com>

 src/snakeoil/constraints.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/snakeoil/constraints.py b/src/snakeoil/constraints.py
index a744cce..0dd8ffc 100644
--- a/src/snakeoil/constraints.py
+++ b/src/snakeoil/constraints.py
@@ -32,8 +32,7 @@ class Constraint(Protocol):
         :return: ``True`` if the assignment is satisfied.
     """
 
-    def __call__(self, **kwargs: Any) -> bool:
-        raise NotImplementedError("Constraint", "__call__")
+    def __call__(self, **kwargs: Any) -> bool: ...
 
 
 class _Domain(list):

Reply via email to