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_omega/__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
1 change: 0 additions & 1 deletion yaqd_omega/_omega_d8200.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import minimalmodbus # type: ignore
from yaqd_core import UsesSerial, UsesUart, IsDaemon, IsSensor


parity_options = {"even": "E", "odd": "O", "none": "N"}

stop_bit_options = {"one": 1, "one_and_half": 1.5, "two": 2}
Expand Down
1 change: 0 additions & 1 deletion yaqd_omega/_omega_iseries_modbus.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import minimalmodbus # type: ignore
from yaqd_core import UsesSerial, UsesUart, IsDaemon, HasPosition


parity_options = {"even": "E", "odd": "O", "none": "N"}

stop_bit_options = {"one": 1, "one_and_half": 1.5, "two": 2}
Expand Down
1 change: 0 additions & 1 deletion yaqd_omega/_omega_platinum.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from pymodbus.client import ModbusSerialClient # type: ignore
from yaqd_core import IsSensor, UsesSerial, UsesUart, HasMeasureTrigger, IsDaemon


CURRENT_VALUE_ADDRESS = 528
PEAK_VALUE_ADDRESS = 550
VALLEY_VALUE_ADDRESS = 552
Expand Down