diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index ec90f12ae253e171bb468d3470ecfee9640c456a..24404caa208dbe4f6ef7e460ece7c9db2816d279 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -21,6 +21,13 @@ repos:
   rev: 5.1.1
   hooks:
   - id: pydocstyle
+- repo: https://github.com/pycqa/pylint
+  rev: v2.8.2
+  hooks:
+  - id: pylint
+    args:
+    - --disable=import-error
+    files: \.py$
 - repo: local
   hooks:
   - id: ansible-doc-test