From: euri10 Date: Fri, 16 Aug 2019 14:18:52 +0000 (+0200) Subject: Add --diff flag to Black for easier debugging (#219) X-Git-Tag: 0.7.0~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e64fcad3b479b7e34dc5e6168015b1642f216bcc;p=thirdparty%2Fhttpx.git Add --diff flag to Black for easier debugging (#219) --- diff --git a/noxfile.py b/noxfile.py index bd74a2b2..739470ab 100644 --- a/noxfile.py +++ b/noxfile.py @@ -21,7 +21,7 @@ def check(session): "black", "flake8", "flake8-bugbear", "flake8-comprehensions", "mypy" ) - session.run("black", "--check", "--target-version=py36", *source_files) + session.run("black", "--check", "--diff", "--target-version=py36", *source_files) session.run("flake8", *source_files) session.run("mypy", "httpx")