From d4fb62107caadc71e34496d78161833f86d7678d Mon Sep 17 00:00:00 2001 From: Vinicius Date: Thu, 8 Feb 2024 19:42:56 -0300 Subject: [PATCH] chore: setup ruff linter --- pyproject.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 71fe88db..8b7d6a54 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,6 +53,13 @@ pytest-django = "^4.5.2" lint = "scripts.lint:main" test = "scripts.test:main" +[tool.ruff] +line-length = 100 +target-version = "py311" + +[tool.ruff.lint] +select = ["E", "F", "I"] + [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api"