Skip to content
This repository was archived by the owner on Apr 11, 2025. It is now read-only.

Commit e38474f

Browse files
committed
Surpress flake8 warnings on poppler backend
1 parent 83b157e commit e38474f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

camelot/backends/poppler_backend.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
import os
1212
import shutil
13-
import subprocess
13+
import subprocess # noqa
1414
import sys
1515

1616
from camelot.backends.base import ConversionBackend
@@ -49,7 +49,9 @@ def convert(self, pdf_path: str, png_path: str, resolution: int = 300) -> None:
4949

5050
try:
5151
subprocess.check_output(
52-
" ".join(pdftopng_command), stderr=subprocess.STDOUT, shell=False
52+
" ".join(pdftopng_command),
53+
stderr=subprocess.STDOUT,
54+
shell=False, # noqa
5355
)
5456
except subprocess.CalledProcessError as e:
5557
raise ValueError(e.output) from e

0 commit comments

Comments
 (0)