Skip to content

Commit 4a549ed

Browse files
committed
Update pyproject.toml and add configs for pylint.
1 parent 84b05dc commit 4a549ed

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

pyproject.toml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,24 @@ description = "A parity tensor package"
1414
readme = "README.md"
1515
license = "GPL-3.0-or-later"
1616

17+
[project.optional-dependencies]
18+
dev = [
19+
"yapf",
20+
"pylint",
21+
"mypy",
22+
"pytest",
23+
"pytest-cov",
24+
]
25+
1726
[tool.setuptools_scm]
1827
version_file = "parity_tensor/_version.py"
1928
version_scheme = "no-guess-dev"
2029
fallback_version = "0.0.0"
2130

22-
2331
[tool.yapf]
2432
based_on_style = "google"
2533
column_limit = 200
2634

27-
[project.optional-dependencies]
28-
dev = [
29-
"yapf",
30-
"pylint",
31-
"mypy",
32-
"pytest",
33-
"pytest-cov",
34-
]
35+
[tool.pylint]
36+
max-line-length = 200
37+
ignore-paths = ["parity_tensor/_version.py"]

0 commit comments

Comments
 (0)