From 24f39054b5fefc24458792e77df4e092efd1025d Mon Sep 17 00:00:00 2001 From: xr1s Date: Sat, 7 Sep 2024 07:44:22 +0800 Subject: [PATCH] :wrench: Add ruff config --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index ef1cb47d..b791411e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -74,3 +74,8 @@ log_cli_date_format = "%Y-%m-%d %H:%M:%S" include = '\.pyi?$' line-length = 120 target-version = ['py311'] + +[tool.ruff] +include = ['\.pyi?$'] +line-length = 120 +target-version = 'py311'