diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d62fb5e4..63f2df0e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,7 +18,7 @@ repos: # Python - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.12.8 + rev: v0.13.1 hooks: - id: ruff args: ["--fix"] @@ -31,7 +31,7 @@ repos: args: ["--write"] # Python inside docs - repo: https://github.com/asottile/blacken-docs - rev: 1.19.1 + rev: 1.20.0 hooks: - id: blacken-docs # markdown, yaml diff --git a/tests/devel_test_lazy_ali_ehpc.py b/tests/devel_test_lazy_ali_ehpc.py index e4201a75..f9d8fae6 100755 --- a/tests/devel_test_lazy_ali_ehpc.py +++ b/tests/devel_test_lazy_ali_ehpc.py @@ -5,6 +5,7 @@ from dpdispatcher.lazy_local_context import LazyLocalContext from dpdispatcher.pbs import PBS + from dpdispatcher.submission import Resources, Submission, Task # local_session = LocalSession({'work_path':'temp2'}) diff --git a/tests/devel_test_shell.py b/tests/devel_test_shell.py index 377cae5f..7b40549b 100755 --- a/tests/devel_test_shell.py +++ b/tests/devel_test_shell.py @@ -7,6 +7,7 @@ # from dpdispatcher.pbs import PBS from dpdispatcher.shell import Shell + from dpdispatcher.submission import Resources, Submission, Task local_session = LocalSession({"work_path": "temp2"}) diff --git a/tests/devel_test_ssh_ali_ehpc.py b/tests/devel_test_ssh_ali_ehpc.py index 8f731b80..a23e173a 100755 --- a/tests/devel_test_ssh_ali_ehpc.py +++ b/tests/devel_test_ssh_ali_ehpc.py @@ -10,6 +10,7 @@ # from dpdispatcher.batch import Batch # from dpdispatcher.pbs import PBS from dpdispatcher.batch_object import BatchObject + from dpdispatcher.submission import Resources, Submission, Task with open("ssh_machine.json") as f: