Merge pull request #131 from dmunozv04/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate
This commit is contained in:
David
2025-01-06 18:52:06 +01:00
committed by GitHub
2 changed files with 5 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
# Inspired by textual pre-commit config
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v5.0.0
hooks:
- id: check-ast # simply checks whether the files parse as valid python
- id: check-builtin-literals # requires literal syntax when initializing empty or zero python builtin types
@@ -19,20 +19,20 @@ repos:
- id: mixed-line-ending # replaces or checks mixed line ending
- id: trailing-whitespace # checks for trailing whitespace
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
language_version: '3.11'
args: ["--profile", "black", "--filter-files"]
- repo: https://github.com/psf/black
rev: 23.1.0
rev: 24.10.0
hooks:
- id: black
language_version: '3.11'
args: ["--preview"]
- repo: https://github.com/hadialqattan/pycln # removes unused imports
rev: v2.3.0
rev: v2.4.0
hooks:
- id: pycln
language_version: "3.11"

View File

@@ -1,4 +1,5 @@
"""Send out an M-SEARCH request and listening for responses."""
import asyncio
import socket