[Git][reproducible-builds/diffoscope][master] comparators/directory.py: fix whitespace for black 21.12
Chris Lamb (@lamby)
gitlab at salsa.debian.org
Fri Jan 28 16:10:40 UTC 2022
Chris Lamb pushed to branch master at Reproducible Builds / diffoscope
Commits:
fba70d27 by Sergei Trofimovich at 2022-01-28T16:05:38+00:00
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.
- - - - -
2 changed files:
- diffoscope/comparators/directory.py
- tests/test_source.py
Changes:
=====================================
diffoscope/comparators/directory.py
=====================================
@@ -49,7 +49,6 @@ if os.uname()[0] == "FreeBSD":
self.path,
]
-
else:
class Stat(Command):
=====================================
tests/test_source.py
=====================================
@@ -256,7 +256,7 @@ def black_version():
]
- at skip_unless_tool_is_at_least("black", black_version, "21.4b2")
+ at 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
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/fba70d27665b427940a13632cb4534138eb2eb45
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/fba70d27665b427940a13632cb4534138eb2eb45
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/20220128/5fd3a762/attachment.htm>
More information about the rb-commits
mailing list