[Git][reproducible-builds/diffoscope][master] Update version of Black.
Chris Lamb (@lamby)
gitlab at salsa.debian.org
Mon Aug 23 16:42:03 UTC 2021
Chris Lamb pushed to branch master at Reproducible Builds / diffoscope
Commits:
4161f7fc by Chris Lamb at 2021-08-23T17:41:24+01:00
Update version of Black.
- - - - -
2 changed files:
- diffoscope/comparators/macho.py
- tests/test_source.py
Changes:
=====================================
diffoscope/comparators/macho.py
=====================================
@@ -224,42 +224,42 @@ class LlvmReadobj(Command):
class LlvmFileHeaders(LlvmReadobj):
- """ Display file headers """
+ """Display file headers"""
def readobj_options(self):
return super().readobj_options() + ["--file-headers"]
class LlvmNeededLibs(LlvmReadobj):
- """ Display the needed libraries """
+ """Display the needed libraries"""
def readobj_options(self):
return super().readobj_options() + ["--needed-libs"]
class LlvmSymbols(LlvmReadobj):
- """ Display the symbol table """
+ """Display the symbol table"""
def readobj_options(self):
return super().readobj_options() + ["--symbols"]
class LlvmDynSymbols(LlvmReadobj):
- """ Display the dynamic symbol table """
+ """Display the dynamic symbol table"""
def readobj_options(self):
return super().readobj_options() + ["--dyn-symbols"]
class LlvmRelocations(LlvmReadobj):
- """ Display the relocation entries in the fil """
+ """Display the relocation entries in the fil"""
def readobj_options(self):
return super().readobj_options() + ["--relocations"]
class LlvmDynRelocations(LlvmReadobj):
- """ Display the dynamic relocation entries in the file """
+ """Display the dynamic relocation entries in the file"""
def readobj_options(self):
return super().readobj_options() + ["--dyn-relocations"]
=====================================
tests/test_source.py
=====================================
@@ -245,7 +245,7 @@ def black_version():
return out.strip().decode("utf-8").rsplit(" ", 1)[-1]
- at skip_unless_tool_is_at_least("black", black_version, "20.8b1")
+ at skip_unless_tool_is_at_least("black", black_version, "21.4b2")
def test_code_is_black_clean():
output = subprocess.check_output(
("black", "--diff", "."), stderr=subprocess.PIPE
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/4161f7fc69ddee2ace6da4464d3fe5ae7e5842fc
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/4161f7fc69ddee2ace6da4464d3fe5ae7e5842fc
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20210823/5e119a71/attachment.htm>
More information about the rb-commits
mailing list