Skip to content

Commit 4b2cfad

Browse files
committed
fix mypy
1 parent 018dd92 commit 4b2cfad

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ warn_return_any = false
100100
module = "turboblast.*"
101101
disallow_untyped_defs = true
102102
disallow_incomplete_defs = true
103+
disable_error_code = "type-arg"
103104

104105
[[tool.mypy.overrides]]
105106
module = "tests.*"
@@ -109,6 +110,7 @@ ignore_errors = true
109110

110111

111112

113+
112114
[tool.ruff]
113115

114116
[tool.ruff.lint]

src/turboblast/blaster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ def main(args: argparse.Namespace) -> None:
573573
"Submitting in chunks of %d (%d chunks total)...", CHUNK_SIZE, total_chunks
574574
)
575575

576-
process_func = functools.partial(process_line, args.bash_slurm_exec) # type: ignore[type-arg]
576+
process_func = functools.partial(process_line, args.bash_slurm_exec)
577577

578578
global_completed = 0
579579
global_failed = 0

0 commit comments

Comments
 (0)