Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#76)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](pre-commit/pre-commit-hooks@v4.3.0...v4.4.0)
- [github.com/psf/black: 22.10.0 → 23.3.0](psf/black@22.10.0...23.3.0)
- [github.com/adrienverge/yamllint.git: v1.28.0 → v1.32.0](https://github.com/adrienverge/yamllint.git/compare/v1.28.0...v1.32.0)
- [github.com/PyCQA/flake8: 5.0.4 → 6.0.0](PyCQA/flake8@5.0.4...6.0.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Jun 14, 2023
1 parent eaba2d7 commit 0fccdb8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
10 changes: 3 additions & 7 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.3.0
rev: v4.4.0
hooks:
- id: trailing-whitespace
exclude: ^src/tendo/tests/.*\.txt$
Expand All @@ -20,16 +20,12 @@ repos:
- id: check-yaml
files: .*\.(yaml|yml)$
- repo: https://github.com/psf/black
rev: 22.10.0
rev: 23.3.0
hooks:
- id: black
language_version: python3
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.28.0
rev: v1.32.0
hooks:
- id: yamllint
files: \.(yaml|yml)$
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ install_requires =
test =
coverage[toml]>=6.5.0
coveralls~=3.3.1
pre-commit~=2.20.0
pre-commit>=3.3.3
pytest-cache~=1.0
pytest-cov~=3.0.0
pytest-html~=3.1.1
Expand Down
1 change: 0 additions & 1 deletion src/tendo/colorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
or ("TERM" in os.environ.keys() and os.environ["TERM"] in ["linux"])
or ("PYCHARM_HOSTED" in os.environ.keys())
):

# Why stderr and not stdout? - because python logging module does output to stderr by default and not stdout.
# now we patch Python code to add color support to logging.StreamHandler
def add_coloring_to_emit_windows(fn):
Expand Down
1 change: 0 additions & 1 deletion src/tendo/tee.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ def test_4(self):


if __name__ == "__main__":

# unittest.main()
import pytest

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ deps =

[testenv:lint]
deps =
pre-commit>==1.15.1
pre-commit>=3.3.3
commands=
python -m pre_commit run --all

Expand Down

0 comments on commit 0fccdb8

Please sign in to comment.