From ecd8bddd4ed75c38f2faeef94dd69f6b789f2025 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 28 May 2023 18:48:08 +0200 Subject: [PATCH] Add Ruff configuration --- pyproject.toml | 4 ++++ requirements.txt | 1 + 2 files changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 4866e26..ba61cd2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,7 @@ # https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#configuration-format [tool.black] target-version = ['py311'] + +# https://beta.ruff.rs/docs/settings/ +[tool.ruff] +target-version = "py311" diff --git a/requirements.txt b/requirements.txt index 3619672..ca2f023 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ black==23.3.0 +ruff==0.0.270