aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--.pylintrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/.pylintrc b/.pylintrc
index eeb630b..93ae978 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -1,3 +1,10 @@
+[MAIN]
+# Enable Pylint to be run in the venv:
+init-hook=
+ try: import pylint_venv
+ except ImportError: pass
+ else: pylint_venv.inithook()
+
[MESSAGES CONTROL]
disable=invalid-name,missing-docstring,too-few-public-methods,too-many-arguments