From d247ef81df876cf7646136f716e5805a510c5285 Mon Sep 17 00:00:00 2001 From: Zakhar Izmaylov Date: Sat, 11 Jan 2025 17:51:24 +0300 Subject: [PATCH] Update config lint --- pyproject.toml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1ea6e345..e8e30a7a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,13 +5,25 @@ target-version = "py310" [tool.ruff.lint] select = ["E", "F", "W", "I", "N", "UP", "ANN", "ASYNC", "S", "BLE", "FBT", "B", "A", "C4", "DTZ", "T10", "ISC", "ICN", "G", "PIE"] ignore = ["ANN101", "ANN102", "S101",'ANN201','ANN001','BLE001'] +exclude = [ + ".git", + "venv", + "main.py", + "handlers/payments", +] [tool.ruff.format] -quote-style = "single" -indent-style = "space" +quote-style = "double" +indent-style = "tab" [tool.darker] src = ["."] revision = "HEAD" diff = false -check = false \ No newline at end of file +check = false +exclude = [ + ".git", + "venv", + "main.py", + "handlers/payments", +] \ No newline at end of file