Skip to content

Commit

Permalink
chore(pre-commit.ci): pre-commit autoupdate (#112)
Browse files Browse the repository at this point in the history
* chore(pre-commit.ci): pre-commit autoupdate

updates:
- [github.com/commitizen-tools/commitizen: v2.42.0 → v3.27.0](commitizen-tools/commitizen@v2.42.0...v3.27.0)
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.4.0...v4.6.0)
- [github.com/pre-commit/mirrors-prettier: v2.7.1 → v4.0.0-alpha.8](pre-commit/mirrors-prettier@v2.7.1...v4.0.0-alpha.8)
- [github.com/asottile/pyupgrade: v3.3.1 → v3.16.0](asottile/pyupgrade@v3.3.1...v3.16.0)
- [github.com/PyCQA/isort: 5.12.0 → 5.13.2](PyCQA/isort@5.12.0...5.13.2)
- [github.com/psf/black: 23.1.0 → 24.4.2](psf/black@23.1.0...24.4.2)
- [github.com/codespell-project/codespell: v2.2.2 → v2.3.0](codespell-project/codespell@v2.2.2...v2.3.0)
- [github.com/PyCQA/flake8: 6.0.0 → 7.1.0](PyCQA/flake8@6.0.0...7.1.0)
- [github.com/pre-commit/mirrors-mypy: v1.0.1 → v1.10.1](pre-commit/mirrors-mypy@v1.0.1...v1.10.1)
- [github.com/PyCQA/bandit: 1.7.4 → 1.7.9](PyCQA/bandit@1.7.4...1.7.9)

* chore(pre-commit.ci): auto fixes

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Jul 1, 2024
1 parent bbc6d6b commit 87b345f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
20 changes: 10 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ ci:

repos:
- repo: https://github.com/commitizen-tools/commitizen
rev: v2.42.0
rev: v3.27.0
hooks:
- id: commitizen
stages: [commit-msg]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: debug-statements
- id: check-builtin-literals
Expand All @@ -29,40 +29,40 @@ repos:
- id: trailing-whitespace
- id: debug-statements
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.7.1
rev: v4.0.0-alpha.8
hooks:
- id: prettier
args: ["--tab-width", "2"]
additional_dependencies:
- prettier@2.8.4
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.16.0
hooks:
- id: pyupgrade
args: [--py310-plus]
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 23.1.0
rev: 24.4.2
hooks:
- id: black
- repo: https://github.com/codespell-project/codespell
rev: v2.2.2
rev: v2.3.0
hooks:
- id: codespell
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 7.1.0
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.0.1
rev: v1.10.1
hooks:
- id: mypy
additional_dependencies: []
- repo: https://github.com/PyCQA/bandit
rev: 1.7.4
rev: 1.7.9
hooks:
- id: bandit
args: [-x, tests]
2 changes: 1 addition & 1 deletion src/bleak_retry_connector/bleak_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
)


async def get_global_bluez_manager_with_timeout() -> "BlueZManager" | None:
async def get_global_bluez_manager_with_timeout() -> BlueZManager | None:
"""Get the properties."""
if not IS_LINUX:
return None
Expand Down
1 change: 0 additions & 1 deletion src/bleak_retry_connector/bluez.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ def _on_characteristic_value_changed(*args: Any, **kwargs: Any) -> None:


class BleakSlotManager:

"""A class to manage the connection slots."""

def __init__(self) -> None:
Expand Down

0 comments on commit 87b345f

Please sign in to comment.