From 4a549edded8ddcf141d486483cd245730e939067 Mon Sep 17 00:00:00 2001 From: Hao Zhang Date: Wed, 30 Jul 2025 22:13:10 +0800 Subject: [PATCH] Update pyproject.toml and add configs for pylint. --- pyproject.toml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index be76414..ac8942b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,21 +14,24 @@ description = "A parity tensor package" readme = "README.md" license = "GPL-3.0-or-later" +[project.optional-dependencies] +dev = [ + "yapf", + "pylint", + "mypy", + "pytest", + "pytest-cov", +] + [tool.setuptools_scm] version_file = "parity_tensor/_version.py" version_scheme = "no-guess-dev" fallback_version = "0.0.0" - [tool.yapf] based_on_style = "google" column_limit = 200 -[project.optional-dependencies] -dev = [ - "yapf", - "pylint", - "mypy", - "pytest", - "pytest-cov", -] +[tool.pylint] +max-line-length = 200 +ignore-paths = ["parity_tensor/_version.py"]