File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -505,23 +505,23 @@ def split_semantic_version(self, target):
505
505
self .logger .warning (Errors .INVALID_ATTRIBUTE_FORMAT )
506
506
return None
507
507
508
- """ check for pre release e.g. 1.0.0-alpha where 'alpha' is a pre release otherwise
509
- check for build e.g. 1.0.0+001 where 001 is a build metadata"""
508
+ # check for pre release e.g. 1.0.0-alpha where 'alpha' is a pre release
509
+ # otherwise check for build e.g. 1.0.0+001 where 001 is a build metadata"""
510
510
511
511
if self .is_pre_release (target ):
512
512
target_parts = target .split (SemverType .IS_PRE_RELEASE )
513
513
elif self .is_build (target ):
514
514
target_parts = target .split (SemverType .IS_BUILD )
515
515
516
- """ validate target version into prefix and suffix """
516
+ # validate target version into prefix and suffix
517
517
if target_parts :
518
518
if len (target_parts ) < 1 :
519
519
self .logger .warning (Errors .INVALID_ATTRIBUTE_FORMAT )
520
520
return None
521
521
target_prefix = str (target_parts [0 ])
522
522
target_suffix = target_parts [1 :]
523
523
524
- """ validate dot counts in a target version """
524
+ # validate dot counts in a target version
525
525
dot_count = target_prefix .count ("." )
526
526
if dot_count > 2 :
527
527
self .logger .warning (Errors .INVALID_ATTRIBUTE_FORMAT )
You can’t perform that action at this time.
0 commit comments