aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-10-06 11:58:01 +0500
committerEgor Tensin <egor@tensin.name>2026-10-06 11:58:01 +0500
commit701630aa170a011b3337e11f578d3577a22e1c25 (patch)
treed236a67f71aa02658b99b9863263a77307007b82
parentpylint fixes (diff)
downloadcgitize-701630aa170a011b3337e11f578d3577a22e1c25.tar.gz
cgitize-701630aa170a011b3337e11f578d3577a22e1c25.zip
move Pylint settings to pyproject.toml
-rw-r--r--.pylintrc14
-rw-r--r--pyproject.toml13
2 files changed, 13 insertions, 14 deletions
diff --git a/.pylintrc b/.pylintrc
deleted file mode 100644
index ae591e9..0000000
--- a/.pylintrc
+++ /dev/null
@@ -1,14 +0,0 @@
-[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,
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",
+]