Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#83)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Nov 11, 2024
1 parent 2bddc91 commit 851a9a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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$
Expand All @@ -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)$
1 change: 0 additions & 1 deletion src/tendo/singleton.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 851a9a3

Please sign in to comment.