Skip to content

Commit

Permalink
chore(pre-commit.ci): pre-commit autoupdate (#42)
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.29.1 → v3.27.0](commitizen-tools/commitizen@v2.29.1...v3.27.0)
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.3.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: v2.37.3 → v3.16.0](asottile/pyupgrade@v2.37.3...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: 22.6.0 → 24.4.2](psf/black@22.6.0...24.4.2)
- [github.com/codespell-project/codespell: v2.1.0 → v2.3.0](codespell-project/codespell@v2.1.0...v2.3.0)
- [github.com/PyCQA/flake8: 4.0.1 → 7.1.0](PyCQA/flake8@4.0.1...7.1.0)
- [github.com/pre-commit/mirrors-mypy: v0.931 → v1.10.1](pre-commit/mirrors-mypy@v0.931...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 210bc11 commit 72fd68c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
4 changes: 1 addition & 3 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"projectOwner": "bluetooth-devices",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"README.md"
],
"files": ["README.md"],
"imageSize": 80,
"commit": true,
"commitConvention": "angular",
Expand Down
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.29.1
rev: v3.27.0
hooks:
- id: commitizen
stages: [commit-msg]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.6.0
hooks:
- id: debug-statements
- id: check-builtin-literals
Expand All @@ -29,38 +29,38 @@ 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"]
- repo: https://github.com/asottile/pyupgrade
rev: v2.37.3
rev: v3.16.0
hooks:
- id: pyupgrade
args: [--py37-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: 22.6.0
rev: 24.4.2
hooks:
- id: black
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
rev: v2.3.0
hooks:
- id: codespell
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
rev: 7.1.0
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.931
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]
1 change: 1 addition & 0 deletions src/led_ble/util.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Utils."""

from __future__ import annotations

import sys
Expand Down

0 comments on commit 72fd68c

Please sign in to comment.