mirror of
https://github.com/ivuorinen/aeonview.git
synced 2026-03-14 03:58:42 +00:00
feat(deps): add pyright and pylint with non-overlapping config
Add pyright>=1.1.0 and pylint>=3.0.0 as dev dependencies. Configure pyright for basic type checking (py3.13) and refine pylint message disables to avoid overlap with ruff's enabled rule sets.
This commit is contained in:
@@ -11,6 +11,8 @@ dependencies = ["requests>=2.32.3"]
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"pre-commit>=3.5.0",
|
||||
"pylint>=3.0.0",
|
||||
"pyright>=1.1.0",
|
||||
"pytest>=8.0.0",
|
||||
"pytest-cov>=4.1.0",
|
||||
"ruff>=0.3.3",
|
||||
@@ -35,8 +37,31 @@ indent-style = "space"
|
||||
testpaths = ["."]
|
||||
python_files = ["*_test.py"]
|
||||
|
||||
[tool.pyright]
|
||||
pythonVersion = "3.13"
|
||||
typeCheckingMode = "basic"
|
||||
|
||||
[tool.pylint.MAIN]
|
||||
ignore-patterns = ["^\\.#"]
|
||||
ignore-paths = ["^\\.#"]
|
||||
ignore = ["CVS", ".venv"]
|
||||
disable = 'attribute-defined-outside-init,invalid-name,missing-docstring,protected-access,too-many-instance-attributes,too-few-public-methods,format'
|
||||
|
||||
[tool.pylint."messages_control"]
|
||||
disable = [
|
||||
"attribute-defined-outside-init",
|
||||
"invalid-name",
|
||||
"missing-docstring",
|
||||
"protected-access",
|
||||
"too-many-instance-attributes",
|
||||
"too-few-public-methods",
|
||||
"format",
|
||||
"line-too-long",
|
||||
"ungrouped-imports",
|
||||
"wrong-import-order",
|
||||
"unused-import",
|
||||
"reimported",
|
||||
"consider-using-f-string",
|
||||
"unnecessary-comprehension",
|
||||
"use-a-generator",
|
||||
"consider-using-with",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user