aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml13
1 files changed, 13 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index e36635b..d55624e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -39,3 +39,16 @@ cgitize = "cgitize.main:main"
packages = ["cgitize"]
[tool.setuptools_scm]
+
+[tool.pylint.main]
+# Enable Pylint to be run in the venv:
+init-hook = """
+try: import pylint_venv
+except ImportError: pass
+else: pylint_venv.inithook()
+"""
+
+[tool.pylint."messages control"]
+disable = [
+ "missing-docstring",
+]