Skip to content

Commit

Permalink
Autoupdate pre-commit (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
koenvervloesem authored Feb 1, 2023
1 parent 13d2ff7 commit 52d3235
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ repos:
# ]

- repo: https://github.com/PyCQA/isort
rev: 5.11.4
rev: 5.12.0
hooks:
- id: isort

- repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.1.0
hooks:
- id: black
language_version: python3
Expand Down Expand Up @@ -75,7 +75,7 @@ repos:
- flake8-pytest-style

- repo: https://github.com/pycqa/pylint
rev: v2.15.9
rev: v2.16.0b1
hooks:
- id: pylint
args:
Expand Down
3 changes: 1 addition & 2 deletions src/bluetooth_clocks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,7 @@ async def set_time(

# Iterate through the modules in the module `device`.
package_dir = Path(__file__).resolve().parent / "devices"
for (_, module_name, _) in iter_modules([str(package_dir)]): # type: ignore

for _, module_name, _ in iter_modules([str(package_dir)]): # type: ignore
# Import the module and iterate through its attributes
module = import_module(f"{__name__}.devices.{module_name}")
for attribute_name in dir(module):
Expand Down

0 comments on commit 52d3235

Please sign in to comment.