From 182d6d2796da4aaf4349f27c48978b068692bb93 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 17:07:42 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v5.0.0) - [github.com/psf/black: 23.7.0 → 24.10.0](https://github.com/psf/black/compare/23.7.0...24.10.0) - [github.com/adrienverge/yamllint.git: v1.32.0 → v1.35.1](https://github.com/adrienverge/yamllint.git/compare/v1.32.0...v1.35.1) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 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)$ From 835ed0c28196c604b62fddd28c0bc9d4106a9e66 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 17:10:46 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/tendo/singleton.py | 1 - 1 file changed, 1 deletion(-) 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`.