Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor #91

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: v4.5.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.1.1
hooks:
- id: black
language_version: python3
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.32.0
rev: v1.33.0
hooks:
- id: yamllint
files: \.(yaml|yml)$
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
# tendo

Tendo is a python module that adds basic functionality that is
not provided by Python. Read the [documentation](https://tendo.readthedocs.org/en/latest/) for more info.
not provided by Python. Read the [documentation](https://tendo.readthedocs.io) for more info.

- [transparent Unicode support for text file operations (BOM detection)](https://tendo.readthedocs.org/en/latest/#module-tendo.singleton)
- [console logging coloring](https://tendo.readthedocs.org/en/latest/#module-tendo.colorer)
- [transparent Unicode support for text file operations (BOM detection)](https://tendo.readthedocs.io/#module-tendo.singleton)
- [console logging coloring](https://tendo.readthedocs.io/#module-tendo.colorer)
- enable you to use symlinks under windows
- [python tee implementation](https://tendo.readthedocs.org/en/latest/#module-tendo.colorer) for executing external programs and redirecting their output to both console/file
- [improved execfile](https://tendo.readthedocs.org/en/latest/#module-tendo.execfile2)
- [python tee implementation](https://tendo.readthedocs.io/#module-tendo.colorer) for executing external programs and redirecting their output to both console/file
- [improved execfile](https://tendo.readthedocs.io/#module-tendo.execfile2)

## Requirements and compatibility

Expand All @@ -20,5 +20,5 @@ not provided by Python. Read the [documentation](https://tendo.readthedocs.org/e

## Related projects and packages

- jaraco - http://pypi.python.org/pypi/jaraco.util
- [jaraco](http://pypi.python.org/pypi/jaraco.util)
- pexpect (maybe)
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
Loading