From 3be51ed14de63fb01e2a921a0b49499611179959 Mon Sep 17 00:00:00 2001 From: "Reza (Shahin) Khanipour" Date: Thu, 25 Jul 2024 14:46:12 +0200 Subject: [PATCH] fix(python): update deprecated linter configuration. closes #35. --- .../pyproject.toml.jinja | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/template/{% if language == 'Python' %}{{ project_name }}{% endif %}/pyproject.toml.jinja b/template/{% if language == 'Python' %}{{ project_name }}{% endif %}/pyproject.toml.jinja index b4f22d6..60a04d6 100644 --- a/template/{% if language == 'Python' %}{{ project_name }}{% endif %}/pyproject.toml.jinja +++ b/template/{% if language == 'Python' %}{{ project_name }}{% endif %}/pyproject.toml.jinja @@ -42,6 +42,8 @@ version_files = [ [tool.ruff] line-length = 120 target-version = "py311" + +[tool.ruff.lint] select = [ "E", # pycodestyle "F", # pyflakes @@ -49,7 +51,7 @@ select = [ "D" # pydocstyle ] -[tool.ruff.pydocstyle] +[tool.ruff.lint.pydocstyle] convention = "google" [tool.coverage.run]