Skip to content
Snippets Groups Projects
Commit 4161f7fc authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Update version of Black.

parent a097e510
No related branches found
No related tags found
No related merge requests found
Pipeline #279495 passed
......@@ -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"]
......
......@@ -245,7 +245,7 @@ def black_version():
return out.strip().decode("utf-8").rsplit(" ", 1)[-1]
@skip_unless_tool_is_at_least("black", black_version, "20.8b1")
@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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment