Skip to content

Commit

Permalink
FIXU: Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
apyrgio committed Oct 2, 2024
1 parent 2d66178 commit 649b25a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions dangerzone/isolation_provider/dummy.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import time
from typing import Callable, Optional

from ..document import Document
from ..conversion.common import DangerzoneConverter
from ..document import Document
from ..util import get_resource_path
Expand Down Expand Up @@ -51,14 +50,14 @@ def start_doc_to_pixels_proc(self, document: Document) -> subprocess.Popen:
"python3",
"-c",
"from dangerzone.isolation_provider.dummy import dummy_script;"
" dummy_script()"
" dummy_script()",
]
return subprocess.Popen(
cmd,
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=self.proc_stderr,
start_new_session=True
start_new_session=True,
)

def terminate_doc_to_pixels_proc(
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
import tempfile
import traceback
from pathlib import Path
from pytest_mock import MockerFixture
from typing import Optional, Sequence

import pytest
from click.testing import CliRunner, Result
from pytest_mock import MockerFixture
from strip_ansi import strip_ansi

from dangerzone.cli import cli_main, display_banner
Expand Down

0 comments on commit 649b25a

Please sign in to comment.