@@ -472,7 +472,7 @@ def compare_pre(self, other): # noqa PLR0911
472472 else :
473473 return compare_identifiers (str (a ), str (b ))
474474
475- def inc (self , release , identifier = None ): # noqa PLR0915
475+ def inc (self , release , identifier = None ):
476476 logger .debug ("inc release %s %s" , self .prerelease , release )
477477 if release == "premajor" :
478478 self .prerelease = []
@@ -901,7 +901,7 @@ def replace_carets(comp, loose):
901901def replace_caret (comp , loose ):
902902 r = regexp [CARETLOOSE ] if loose else regexp [CARET ]
903903
904- def repl (mob ): # noqa PLR0911
904+ def repl (mob ):
905905 m0 = mob .group (0 )
906906 M , m , p , pr , _ = mob .groups ()
907907 logger .debug ("caret %s %s %s %s %s %s" , comp , m0 , M , m , p , pr )
@@ -1001,7 +1001,7 @@ def replace_xrange(comp, loose):
10011001 comp = comp .strip ()
10021002 r = regexp [XRANGELOOSE ] if loose else regexp [XRANGE ]
10031003
1004- def repl (mob ): # noqa PLR0911
1004+ def repl (mob ):
10051005 ret = mob .group (0 )
10061006 gtlt , M , m , p , pr , _ = mob .groups ()
10071007
@@ -1076,7 +1076,7 @@ def replace_stars(comp, loose):
10761076# 1.2.3 - 3.4 => >=1.2.0 <3.5.0 Any 3.4.x will do
10771077# 1.2 - 3.4 => >=1.2.0 <3.5.0
10781078def hyphen_replace (mob ):
1079- from_ , fM , fm , fp , fpr , fb , to , tM , tm , tp , tpr , tb = mob .groups ()
1079+ from_ , fM , fm , fp , to , tM , tm , tp , tpr , tb = mob .groups ()
10801080 if is_x (fM ):
10811081 from_ = ""
10821082 elif is_x (fm ):
0 commit comments