Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#299)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 24.10.0 → 25.1.0](psf/black@24.10.0...25.1.0)
- [github.com/pycqa/isort: 5.13.2 → 6.0.0](PyCQA/isort@5.13.2...6.0.0)
- [github.com/pre-commit/mirrors-mypy: v1.14.1 → v1.15.0](pre-commit/mirrors-mypy@v1.14.1...v1.15.0)
- [github.com/PyCQA/pylint: v3.3.3 → v3.3.4](pylint-dev/pylint@v3.3.3...v3.3.4)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Feb 16, 2025
1 parent 262c7c7 commit fbd3f81
Show file tree
Hide file tree
Showing 29 changed files with 32 additions and 60 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ repos:
exclude: manage.py
- id: name-tests-test
- repo: https://github.com/psf/black
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black
exclude: migrations/
Expand All @@ -31,19 +31,19 @@ repos:
# https://pre-commit.com/#top_level-default_language_version
language_version: python3.12
- repo: https://github.com/pycqa/isort
rev: 5.13.2
rev: 6.0.0
hooks:
- id: isort
name: isort (python)
language_version: python3.12
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.14.1
rev: v1.15.0
hooks:
- id: mypy
additional_dependencies: [pydantic, types-redis, aiomqtt]
language_version: python3.12
- repo: https://github.com/PyCQA/pylint
rev: v3.3.3
rev: v3.3.4
hooks:
- id: pylint
additional_dependencies:
Expand Down
3 changes: 1 addition & 2 deletions examples/core/asyncio_coroutine.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Asynchronous I/O - coroutine.
"""
"""Asynchronous I/O - coroutine."""

import asyncio
import logging
Expand Down
3 changes: 1 addition & 2 deletions examples/core/asyncio_coroutine_concurrent.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Asynchronous I/O - Run coroutines concurrently.
"""
"""Asynchronous I/O - Run coroutines concurrently."""

import asyncio
import logging
Expand Down
3 changes: 1 addition & 2 deletions examples/core/asyncio_nonblocking.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Asynchronous I/O - Non-blocking main thread.
"""
"""Asynchronous I/O - Non-blocking main thread."""

import asyncio
import logging
Expand Down
3 changes: 1 addition & 2 deletions examples/core/asyncio_queue.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Asynchronous I/O - Queue.
"""
"""Asynchronous I/O - Queue."""

import asyncio
import logging
Expand Down
3 changes: 1 addition & 2 deletions examples/core/asyncio_schedule.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Asynchronous I/O - Scheduled Tasks.
"""
"""Asynchronous I/O - Scheduled Tasks."""

import asyncio
import logging
Expand Down
3 changes: 1 addition & 2 deletions examples/core/asyncio_synchronization_condition.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Asynchronous I/O - Synchronization Primitives: Condition.
"""
"""Asynchronous I/O - Synchronization Primitives: Condition."""

import asyncio
import logging
Expand Down
3 changes: 1 addition & 2 deletions examples/core/asyncio_synchronization_event.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Asynchronous I/O - Synchronization Primitives: Event.
"""
"""Asynchronous I/O - Synchronization Primitives: Event."""

import asyncio
import logging
Expand Down
3 changes: 1 addition & 2 deletions examples/core/asyncio_synchronization_lock.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Asynchronous I/O - Synchronization Primitives: Lock.
"""
"""Asynchronous I/O - Synchronization Primitives: Lock."""

import asyncio
import logging
Expand Down
3 changes: 1 addition & 2 deletions examples/core/asyncio_synchronization_semapore.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Asynchronous I/O - Synchronization Primitives: Semapore.
"""
"""Asynchronous I/O - Synchronization Primitives: Semapore."""

import asyncio
import logging
Expand Down
3 changes: 1 addition & 2 deletions examples/core/asyncio_tcp_client.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""TCP Client - Asynchronous I/O (High-Level APIs).
"""
"""TCP Client - Asynchronous I/O (High-Level APIs)."""

import asyncio
import logging
Expand Down
3 changes: 1 addition & 2 deletions examples/core/asyncio_tcp_server.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""TCP Server - Asynchronous I/O (High-Level APIs).
"""
"""TCP Server - Asynchronous I/O (High-Level APIs)."""

import asyncio
import logging
Expand Down
3 changes: 1 addition & 2 deletions examples/core/asyncio_timeout.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Asynchronous I/O - Timeout.
"""
"""Asynchronous I/O - Timeout."""

import asyncio
import logging
Expand Down
3 changes: 1 addition & 2 deletions examples/core/asyncio_wait.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Asynchronous I/O - Waiting Primitives.
"""
"""Asynchronous I/O - Waiting Primitives."""

import asyncio
import logging
Expand Down
3 changes: 1 addition & 2 deletions examples/core/cli_args.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Command-Line Arguments Parsing.
"""
"""Command-Line Arguments Parsing."""

import sys

Expand Down
3 changes: 1 addition & 2 deletions examples/core/io_multiplex_client.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""I/O Multiplex (Client)
"""
"""I/O Multiplex (Client)"""

import logging
import selectors
Expand Down
3 changes: 1 addition & 2 deletions examples/core/io_multiplex_server.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""I/O Multiplex (Server)
"""
"""I/O Multiplex (Server)"""

import logging
import selectors
Expand Down
3 changes: 1 addition & 2 deletions examples/core/ipc_unix_domain_socket_client_ipv4.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""IPC - Unix Domain Socket (UDS) Client, based on IPv4
"""
"""IPC - Unix Domain Socket (UDS) Client, based on IPv4"""

import logging
import socket
Expand Down
3 changes: 1 addition & 2 deletions examples/core/ipc_unix_domain_socket_server_ipv4.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""IPC - Unix Domain Socket (UDS) Server, based on IPv4
"""
"""IPC - Unix Domain Socket (UDS) Server, based on IPv4"""

import logging
import os
Expand Down
3 changes: 1 addition & 2 deletions examples/core/ipv4_multicast_udp_client.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""IPv4 Multicast (UDP Client)
"""
"""IPv4 Multicast (UDP Client)"""

# PEP 604, Allow writing union types as X | Y
from __future__ import annotations
Expand Down
3 changes: 1 addition & 2 deletions examples/core/ipv4_multicast_udp_server.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""IPv4 Multicast (UDP Server)
"""
"""IPv4 Multicast (UDP Server)"""

# PEP 604, Allow writing union types as X | Y
from __future__ import annotations
Expand Down
3 changes: 1 addition & 2 deletions examples/core/pack_unpack_bin_data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Pack/Unpack binary data.
"""
"""Pack/Unpack binary data."""

import array
import binascii
Expand Down
3 changes: 1 addition & 2 deletions examples/core/tcp_client_ipv4.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""TCP Client (IPv4)
"""
"""TCP Client (IPv4)"""

import logging
import socket
Expand Down
3 changes: 1 addition & 2 deletions examples/core/tcp_server_ipv4.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""TCP Server (IPv4) - Standard Framework
"""
"""TCP Server (IPv4) - Standard Framework"""

import logging
import socket
Expand Down
3 changes: 1 addition & 2 deletions examples/core/udp_client_ipv4_timeout.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""UDP Client, based on IPv4
"""
"""UDP Client, based on IPv4"""

from __future__ import annotations

Expand Down
3 changes: 1 addition & 2 deletions examples/core/udp_server_ipv4_std.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""UDP Server with Standard Framework, based on IPv4
"""
"""UDP Server with Standard Framework, based on IPv4"""

import logging
import socket
Expand Down
3 changes: 1 addition & 2 deletions examples/core/udp_server_ipv4_timeout.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""UDP Server (IPv4) - Timeout Mode
"""
"""UDP Server (IPv4) - Timeout Mode"""

from __future__ import annotations

Expand Down
3 changes: 1 addition & 2 deletions examples/system_services/mqtt_aiomqtt_usage.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""MQTT `aiomqtt` Usage.
"""
"""MQTT `aiomqtt` Usage."""

import asyncio
import os
Expand Down
3 changes: 1 addition & 2 deletions examples/system_services/redis_usage.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Redis Usage.
"""
"""Redis Usage."""

import redis

Expand Down

0 comments on commit fbd3f81

Please sign in to comment.