From 27d1b665d2d179982e08b5a32e786d493fb06701 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Benjamin=20H=C3=A4ttasch?=
 <benjamin.haettasch@fachschaft.informatik.tu-darmstadt.de>
Date: Sat, 10 Jun 2023 12:24:22 +0200
Subject: [PATCH] Allow single-letter variables

---
 pylintrc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pylintrc b/pylintrc
index c16faf4c..e604e04a 100644
--- a/pylintrc
+++ b/pylintrc
@@ -46,6 +46,10 @@ module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(AK[A-Z][a-z0-9_]+))$
 # Good variable names which should always be accepted, separated by a comma
 good-names=i,j,k,a,e,ak,tz,_
 
+# Allow single-letter variables and enforce lowercase variables with underscores otherwise
+variable-rgx=[a-z_][a-z0-9_]{0,30}$
+
+
 [TYPECHECK]
 
 # Tells whether missing members accessed in mixin class should be ignored. A
-- 
GitLab