diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d535cd79e..8060d85d9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,13 +37,13 @@ repos: - id: trailing-whitespace - repo: https://github.com/asottile/pyupgrade - rev: v3.11.0 + rev: v3.14.0 hooks: - id: pyupgrade args: ["--py38-plus"] - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.4.0 + rev: v2.5.0 hooks: - id: setup-cfg-fmt @@ -54,7 +54,7 @@ repos: exclude: coffea/processor/templates - repo: https://github.com/codespell-project/codespell - rev: v2.2.5 + rev: v2.2.6 hooks: - id: codespell args: ["--skip=*.ipynb","-L hist,Hist,nd,SubJet,subjet,Subjet,PTD,ptd,fPt,fpt,Ser,ser"] diff --git a/src/coffea/processor/executor.py b/src/coffea/processor/executor.py index 9698fa296..18ab1c8c5 100644 --- a/src/coffea/processor/executor.py +++ b/src/coffea/processor/executor.py @@ -694,7 +694,7 @@ class FuturesExecutor(ExecutorBase): An accumulator to collect the output of the function pool : concurrent.futures.Executor class or instance, optional The type of futures executor to use, defaults to ProcessPoolExecutor. - You can pass an instance instead of a class to re-use an executor + You can pass an instance instead of a class to reuse an executor workers : int, optional Number of parallel processes for futures (default 1) status : bool, optional