From a5ea2086cd7c79204350e60627df246b2eacd298 Mon Sep 17 00:00:00 2001 From: deadzilla Date: Wed, 8 Jul 2026 00:17:01 +0500 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2?= =?UTF-8?q?=D0=B8=D0=BB=20pre-commit=20=D1=85=D1=83=D0=BA=D0=B8=20(ruff=20?= =?UTF-8?q?+=20ruff-format)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 7 +++++++ requirements-dev.txt | 2 ++ 2 files changed, 9 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..f77a9d5 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,7 @@ +repos: + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.8.6 + hooks: + - id: ruff + args: [--fix] + - id: ruff-format diff --git a/requirements-dev.txt b/requirements-dev.txt index 041617b..06ca020 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,2 +1,4 @@ +pre-commit>=3.5.0 pytest>=7.4.0 pytest-asyncio>=0.21.0 +ruff>=0.8.0