From 5f3db3a36610366e12ba14cd688d3d259917f33c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matth=C3=A4us=20G=2E=20Chajdas?= Date: Sun, 14 Feb 2021 14:42:49 +0100 Subject: Fix various issues found by make check. --- pygments/formatters/svg.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pygments/formatters/svg.py') diff --git a/pygments/formatters/svg.py b/pygments/formatters/svg.py index 6950cd96..547a7bbc 100644 --- a/pygments/formatters/svg.py +++ b/pygments/formatters/svg.py @@ -140,7 +140,8 @@ class SvgFormatter(Formatter): if self.linenos: if counter % counter_step == 0: - outfile.write('%s' % (x+self.linenowidth,y,counter_style,counter)) + outfile.write('%s' % + (x+self.linenowidth,y,counter_style,counter)) line_x += self.linenowidth + self.ystep counter += 1 @@ -158,7 +159,8 @@ class SvgFormatter(Formatter): y += self.ystep outfile.write('\n') if self.linenos and counter % counter_step == 0: - outfile.write('%s' % (x+self.linenowidth,y,counter_style,counter)) + outfile.write('%s' % + (x+self.linenowidth,y,counter_style,counter)) counter += 1 outfile.write('' % (line_x,y)) -- cgit v1.2.1