From: Christian Heller Date: Sat, 16 Mar 2024 23:17:03 +0000 (+0100) Subject: Move pylint configuration into .pylintrc. X-Git-Url: https://plomlompom.com/repos/te"st.html?a=commitdiff_plain;h=b2ff5c32fe8dfc5f68c5beddd351e907024b08f7;p=plomtask Move pylint configuration into .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