From 5078b2e91f21c0b987d4d1294953d71a8d9239e7 Mon Sep 17 00:00:00 2001 From: Stavros Korokithakis Date: Mon, 10 Jun 2024 12:23:29 +0300 Subject: [PATCH] Add ruff config --- pyproject.toml | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 853d744..7b28446 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,20 +1,2 @@ -[tool.black] -line-length = 120 -target-version = ['py37'] -include = '\.pyi?$' -exclude = ''' -( - /( - \.eggs # exclude a few common directories in the - | \.git # root of the project - | \.hg - | \.mypy_cache - | \.tox - | \.venv - | _build - | buck-out - | build - | dist - )/ -) -''' +[tool.ruff] +lint.ignore = ["F403", "E501", "N802", "N803", "N806", "C901", "D100", "D102", "D102", "D10"]