From b2ff5c32fe8dfc5f68c5beddd351e907024b08f7 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 17 Mar 2024 00:17:03 +0100
Subject: [PATCH] Move pylint configuration into .pylintrc.

---
 .pylintrc          | 3 +++
 scripts/pre-commit | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
 create mode 100644 .pylintrc

diff --git a/.pylintrc b/.pylintrc
new file mode 100644
index 0000000..45e0778
--- /dev/null
+++ b/.pylintrc
@@ -0,0 +1,3 @@
+[BASIC]
+
+good-names-rgx=do_(GET|POST)(_[a-z]+)?
diff --git a/scripts/pre-commit b/scripts/pre-commit
index e1cfb73..9400e92 100755
--- a/scripts/pre-commit
+++ b/scripts/pre-commit
@@ -2,5 +2,5 @@
 set -e
 python3 -m mypy *.py
 python3 -m flake8 *.py
-python3 -m pylint --good-names 'do_GET,do_POST' *.py
+python3 -m pylint *.py
 exit 0
-- 
2.30.2