Skip to content

Commit 3ff69ac

Browse files
committed
blacken source
1 parent 2b68e28 commit 3ff69ac

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

lib/fdiff/__main__.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,16 @@ def run(argv):
123123
# ------------------------------
124124
# head and tail are not supported when external diff tool is called
125125
if args.head or args.tail:
126-
sys.stderr.write(f"[ERROR] The head and tail options are not supported with external diff executable calls.{os.linesep}")
126+
sys.stderr.write(
127+
f"[ERROR] The head and tail options are not supported with external diff executable calls.{os.linesep}"
128+
)
127129
sys.exit(1)
128130

129131
# lines of context filter is not supported when external diff tool is called
130132
if args.lines != 3:
131-
sys.stderr.write(f"[ERROR] The lines option is not supported with external diff executable calls.{os.linesep}")
133+
sys.stderr.write(
134+
f"[ERROR] The lines option is not supported with external diff executable calls.{os.linesep}"
135+
)
132136
sys.exit(1)
133137

134138
try:

lib/fdiff/color.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
ansicolors = {
32
"BLACK": "\033[30m",
43
"RED": "\033[31m",

0 commit comments

Comments
 (0)