Skip to content
Snippets Groups Projects
Commit fba70d27 authored by Sergei Trofimovich's avatar Sergei Trofimovich Committed by Chris Lamb
Browse files

comparators/directory.py: fix whitespace for black 21.12

On black-21.12 test fails as:

    --- diffoscope/comparators/directory.py     2022-01-26 11:54:10.953755 +0000
    +++ diffoscope/comparators/directory.py     2022-01-26 11:54:18.335859 +0000
    @@ -46,11 +46,10 @@
                     "%Y-%m-%d %H:%M:%S",
                     "-f",
                     "%Sp %l %Su %Sg %z %Sm %k %b %#Xf",
                     self.path,
                 ]
    -
     else:
         class Stat(Command):

The change drops extra whitespace.
parent 3b515cc5
No related branches found
No related tags found
1 merge request!101comparators/directory.py: fix whitespace for black 21.12
Pipeline #342011 passed
......@@ -49,7 +49,6 @@ if os.uname()[0] == "FreeBSD":
self.path,
]
else:
class Stat(Command):
......
......@@ -256,7 +256,7 @@ def black_version():
]
@skip_unless_tool_is_at_least("black", black_version, "21.4b2")
@skip_unless_tool_is_at_least("black", black_version, "21.12b0")
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