Skip to content
Open
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
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ ci:
autoupdate_schedule: "monthly"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: check-toml
- id: no-commit-to-branch
args: [-b, master]

- repo: https://github.com/psf/black
rev: 23.10.1
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.1.0
hooks:
- id: black
name: black
Expand All @@ -19,7 +19,7 @@ repos:
types: [python]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.6.1
rev: v1.19.1
hooks:
- id: mypy
exclude: ^docs/conf.py
Expand Down
2 changes: 0 additions & 2 deletions yaqd_seek/__version__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
"""Define version."""


import pathlib
import subprocess


here = pathlib.Path(__file__).resolve().parent


Expand Down
3 changes: 1 addition & 2 deletions yaqd_seek/_seek_compact.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import struct
from time import sleep


BEGIN_MEMORY_WRITE = 82
COMPLETE_MEMORY_WRITE = 81
GET_BIT_DATA = 59
Expand Down Expand Up @@ -183,7 +182,7 @@ def _init_camera(self):
# out = dev.ctrl_transfer(0xC1, GET_FACTORY_SETTINGS, 0, 0, 64)

self.dev.ctrl_transfer(
0x41, SET_FACTORY_SETTINGS_FEATURES, 0, 0, "\x0C\x00\x70\x00\x00\x00"
0x41, SET_FACTORY_SETTINGS_FEATURES, 0, 0, "\x0c\x00\x70\x00\x00\x00"
)
# out = dev.ctrl_transfer(0xC1, GET_FACTORY_SETTINGS, 0, 0, 24)

Expand Down