From 851a9a333de27467cef9dc0d0793aaa7a922e1e8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 11:24:05 +0000 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#83) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 6 +++--- src/tendo/singleton.py | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e78cd3a..b5b88cc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v5.0.0 hooks: - id: trailing-whitespace exclude: ^src/tendo/tests/.*\.txt$ @@ -20,12 +20,12 @@ repos: - id: check-yaml files: .*\.(yaml|yml)$ - repo: https://github.com/psf/black - rev: 23.7.0 + rev: 24.10.0 hooks: - id: black language_version: python3 - repo: https://github.com/adrienverge/yamllint.git - rev: v1.32.0 + rev: v1.35.1 hooks: - id: yamllint files: \.(yaml|yml)$ diff --git a/src/tendo/singleton.py b/src/tendo/singleton.py index 7151241..da57560 100755 --- a/src/tendo/singleton.py +++ b/src/tendo/singleton.py @@ -15,7 +15,6 @@ class SingleInstanceException(BaseException): class SingleInstance: - """Class that can be instantiated only once per machine. If you want to prevent your script from running in parallel just instantiate SingleInstance() class. If is there another instance already running it will throw a `SingleInstanceException`.