mirror of
https://github.com/unmojang/meta.git
synced 2025-09-24 03:31:03 -04:00
chore: Fix PEP8: E501 line too long
This commit is contained in:
parent
8ad8ed95cb
commit
f5ca1a18f7
@ -53,7 +53,6 @@ def should_ignore_artifact(libs: Collection[GradleSpecifier], match: GradleSpeci
|
||||
# Everything is matched perfectly - this one will be ignored
|
||||
return True
|
||||
elif LooseVersion(ver.version) > LooseVersion(match.version):
|
||||
# eprint ("Lower version on %s:%s:%s: OLD=%s NEW=%s" % (ver.group, ver.artifact, ver.classifier, ver.version, match.version))
|
||||
return True
|
||||
else:
|
||||
# Otherwise it did not match - new version is higher and this is an upgrade
|
||||
|
@ -138,9 +138,11 @@ def main():
|
||||
newIndex = DerivedForgeIndex()
|
||||
|
||||
# FIXME: does not fully validate that the file has not changed format
|
||||
# NOTE: For some insane reason, the format of the versions here is special. It having a branch at the end means it affects that particular branch
|
||||
# NOTE: For some insane reason, the format of the versions here is special. It having a branch at the end means it
|
||||
# affects that particular branch.
|
||||
# We don't care about Forge having branches.
|
||||
# Therefore we only use the short version part for later identification and filter out the branch-specific promotions (among other errors).
|
||||
# Therefore we only use the short version part for later identification and filter out the branch-specific
|
||||
# promotions (among other errors).
|
||||
print("Processing promotions:")
|
||||
for promoKey, shortversion in promotions_json.get('promos').items():
|
||||
match = promotedKeyExpression.match(promoKey)
|
||||
|
Loading…
x
Reference in New Issue
Block a user