Skip to content

Commit 4458d23

Browse files
refactor: first step to outsource query command (#339)
This is an attempt to fulfil the request outlined in PR #336 . <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Configurable status-query tool (sacct/squeue), retry attempts, post-init settings validation, and optional efficiency reports with configurable path and threshold. * **Improvements** * Cluster-aware status querying with dynamic tool selection and smart fallbacks based on cluster MinJobAge; contextual warnings about status-command choices; improved shutdown and robust log cleanup (including empty-directory handling). * **Chores** * Formatting/tooling config and minor style/readability tweaks. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent b8065a4 commit 4458d23

File tree

8 files changed

+488
-97
lines changed

8 files changed

+488
-97
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ pandas = "^2.2.3"
3333
[tool.coverage.run]
3434
omit = [".*", "*/site-packages/*", "Snakefile"]
3535

36+
[tool.black]
37+
line-length = 87
38+
target-version = ['py311']
39+
3640
[build-system]
3741
requires = ["poetry-core"]
3842
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)