From 02fa248643d969f2eaf015c3d3986ecedc6aa9a1 Mon Sep 17 00:00:00 2001
From: lukken <lukken@astron.nl>
Date: Mon, 16 Jun 2025 10:41:59 +0200
Subject: [PATCH] Match ruff rule expansion across Python templates

---
 {{cookiecutter.project_slug}}/pyproject.toml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/{{cookiecutter.project_slug}}/pyproject.toml b/{{cookiecutter.project_slug}}/pyproject.toml
index 9240bc2..f6dd9c3 100644
--- a/{{cookiecutter.project_slug}}/pyproject.toml
+++ b/{{cookiecutter.project_slug}}/pyproject.toml
@@ -63,6 +63,10 @@ exclude = [
 ]
 
 [tool.ruff.lint]
+# Expand basic rules with name and style checks roughly equivalent to flake8 + black + pylint
+# Some additional functional errors such as `await` on none async or wrong return types / args.
+# More info https://docs.astral.sh/ruff/rules/
+select = ["N", "A", "E", "F", "B", "W", "Q", "PL", "ASYNC", "S", "G", "RET", "ARG"]
 ignore = ["E203"]
 
 
-- 
GitLab