Skip to content

Commit

Permalink
pre-commit auto-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Oct 12, 2024
1 parent f26713f commit 7775f1d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/custodian/jdftx/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

import logging
import os
import subprocess
import shlex
import subprocess

import psutil

from custodian.custodian import Job

logger = logging.getLogger(__name__)
Expand Down
3 changes: 2 additions & 1 deletion tests/jdftx/conftest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import pytest
from custodian.jdftx.jobs import JDFTxJob


@pytest.fixture()
def jdftx_job():
return JDFTxJob(jdftx_cmd="jdftx", output_file="jdftx.out")
return JDFTxJob(jdftx_cmd="jdftx", output_file="jdftx.out")
2 changes: 1 addition & 1 deletion tests/jdftx/test_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
from unittest.mock import ANY, MagicMock, patch

import psutil
import pytest
from custodian.jdftx.jobs import JDFTxJob

TEST_DIR = Path(__file__).resolve().parent.parent
TEST_FILES = f"{TEST_DIR}/files/jdftx"


def create_mock_process(
name="jdftx", open_files=None, pid=12345, name_side_effect=None, wait_side_effect=None, terminate_side_effect=None
):
Expand Down

0 comments on commit 7775f1d

Please sign in to comment.