Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #84

Merged
merged 2 commits into from
Feb 26, 2024
Merged
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
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.15.1
hooks:
- id: pyupgrade
args: [--py38-plus]
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.11.0
rev: 24.2.0
hooks:
- id: black
args:
Expand All @@ -18,7 +18,7 @@ repos:
args:
- --quiet-level=2
- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8
additional_dependencies:
Expand All @@ -30,7 +30,7 @@ repos:
- flake8-noqa
- mccabe
- repo: https://github.com/PyCQA/bandit
rev: 1.7.5
rev: 1.7.7
hooks:
- id: bandit
args:
Expand All @@ -40,7 +40,7 @@ repos:
additional_dependencies: ["bandit[toml]"]
files: ^.*/.+\.py$
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
stages: [manual]
Expand All @@ -61,7 +61,7 @@ repos:
- id: python-no-eval
- id: python-no-log-warn
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
rev: v4.0.0-alpha.8
hooks:
- id: prettier
- repo: https://github.com/cdce8p/python-typing-update
Expand Down
1 change: 1 addition & 0 deletions tests/module_status_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
This test checks if with an incoming module_status message the selected program
is correctly stored into the module.
"""

import pathlib

import pytest
Expand Down
1 change: 1 addition & 0 deletions tests/thermostat_operating_mode_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
This test checks if with an incoming temp_sensor_status message the thermostat operating mode and
sleep_timer values are correctly stored into the module's temperature channel.
"""

import logging
import pathlib

Expand Down
1 change: 1 addition & 0 deletions velbusaio/channels.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
author: Maikel Punie <[email protected]>
"""

from __future__ import annotations

import asyncio
Expand Down
1 change: 1 addition & 0 deletions velbusaio/command_registry.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Maikel Punie <[email protected]> and Thomas Delaet <[email protected]>
"""

from __future__ import annotations

MODULE_DIRECTORY = {
Expand Down
1 change: 1 addition & 0 deletions velbusaio/const.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Author: Maikel Punie <[email protected]>
"""

from __future__ import annotations

from typing import Final
Expand Down
1 change: 1 addition & 0 deletions velbusaio/controller.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Main interface for the velbusaio lib
"""

from __future__ import annotations

import asyncio
Expand Down
1 change: 1 addition & 0 deletions velbusaio/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Velbus packet handler
:Author maikel punie <[email protected]>
"""

from __future__ import annotations

import asyncio
Expand Down
1 change: 1 addition & 0 deletions velbusaio/helpers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Helper functions
"""

from __future__ import annotations

import os
Expand Down
1 change: 1 addition & 0 deletions velbusaio/message.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The velbus abstract message class
"""

from __future__ import annotations

import json
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Thomas Delaet <[email protected]>
"""

from __future__ import annotations

from velbusaio.messages.blind_status import BlindStatusMessage, BlindStatusNgMessage
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/blind_status.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Tom Dupré <[email protected]>
"""

from __future__ import annotations

import json
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/bus_active.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Thomas Delaet <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/bus_error_counter_status.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Thomas Delaet <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/bus_error_counter_status_request.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Thomas Delaet <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/bus_off.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Thomas Delaet <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/channel_name_part1.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Thomas Delaet <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/channel_name_part2.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Thomas Delaet <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/channel_name_part3.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Thomas Delaet <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/channel_name_request.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Thomas Delaet <[email protected]> and Maikel Punie <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/clear_led.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Thomas Delaet <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/counter_status.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Maikel Punie <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/counter_status_request.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Maikel Punie <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/cover_down.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Tom Dupré <[email protected]>
"""

from __future__ import annotations

import struct
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/cover_off.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Tom Dupré <[email protected]>
"""

from __future__ import annotations

import struct
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/cover_position.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Maikel Punie <[email protected]>
"""

from __future__ import annotations

import struct
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/cover_up.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Tom Dupré <[email protected]>
"""

from __future__ import annotations

import struct
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/dali_device_settings.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Niels Laukens
"""

from __future__ import annotations

import dataclasses
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/dali_device_settings_request.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Niels Laukens
"""

from __future__ import annotations

import enum
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/dali_dim_value_status.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Niels Laukens
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/dimmer_channel_status.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Frank van Breugel
"""

from __future__ import annotations

import struct
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/dimmer_status.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Frank van Breugel
"""

from __future__ import annotations

import struct
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/edge_set_custom_color.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Maikel Punie <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/fast_blinking_led.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Thomas Delaet <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/forced_off.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Maikel Punie <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/forced_on.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Maikel Punie <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/interface_status_request.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Thomas Delaet <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/ir_receiver_status.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: David Danssaert <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/kwh_status.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Maikel Punie <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/light_value_request.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Maikel Punie <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/memo_text.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Maikel Punie <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/memory_data.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Thomas Delaet <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/memory_data_block.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Thomas Delaet <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
1 change: 1 addition & 0 deletions velbusaio/messages/memory_dump_request.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
:author: Thomas Delaet <[email protected]>
"""

from __future__ import annotations

from velbusaio.command_registry import register
Expand Down
Loading
Loading