aboutsummaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2026-06-30 18:55:39 +0200
committerDimitri Staessens <dimitri@ouroboros.rocks>2026-06-30 18:57:58 +0200
commitd84a1b2f9e8ccc4b19cfb90b5a11d4be2ef34479 (patch)
tree9ba76b58bc9a6ff9027979467b822a2b30805043 /pyproject.toml
parent7d043001b956fb80116cf8eedcca1d5aaf2edbd4 (diff)
downloadpyouroboros-d84a1b2f9e8ccc4b19cfb90b5a11d4be2ef34479.tar.gz
pyouroboros-d84a1b2f9e8ccc4b19cfb90b5a11d4be2ef34479.zip
build: Add Pylint config
Add a PyLint section to pyproject.toml.
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml14
1 files changed, 14 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 247142c..9a9f8b6 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -21,3 +21,17 @@ Homepage = "https://ouroboros.rocks"
packages = ["ouroboros"]
[tool.setuptools_scm]
+
+[tool.pylint.main]
+extension-pkg-allow-list = ["_ouroboros_dev_cffi", "_ouroboros_irm_cffi"]
+ignored-modules = ["setuptools_scm", "_ouroboros_dev_cffi", "_ouroboros_irm_cffi"]
+
+[tool.pylint.format]
+max-line-length = 100
+
+[tool.pylint.design]
+max-args = 10
+max-positional-arguments = 10
+max-attributes = 10
+max-public-methods = 30
+