From 2852ce1f960d1ea6a8128d5aeed34a45b6c8ab9c Mon Sep 17 00:00:00 2001 From: Anton Kamalov Date: Sun, 8 Dec 2024 12:11:53 +0300 Subject: [PATCH] YAMl pre-commit --- .pre-commit-config.yaml | 11 +++++++++++ 1 file changed, 11 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..5f2aa90 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,11 @@ +repos: + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.8.2 + hooks: + - id: ruff + args: [ --fix ] + - id: ruff-format + - repo: https://github.com/pycqa/isort + rev: 5.12.0 + hooks: + - id: isort \ No newline at end of file