home · contact · privacy
Move pylint configuration into .pylintrc.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 16 Mar 2024 23:17:03 +0000 (00:17 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 16 Mar 2024 23:17:03 +0000 (00:17 +0100)
.pylintrc [new file with mode: 0644]
scripts/pre-commit

diff --git a/.pylintrc b/.pylintrc
new file mode 100644 (file)
index 0000000..45e0778
--- /dev/null
+++ b/.pylintrc
@@ -0,0 +1,3 @@
+[BASIC]
+
+good-names-rgx=do_(GET|POST)(_[a-z]+)?
index e1cfb733180349084416dae48f301d795815ffc2..9400e92d5e140340c679769d1173206741b5575a 100755 (executable)
@@ -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