ops: Add mypy and pyright to the code quality workflow

This commit is contained in:
Karim shoair
2026-02-07 17:28:44 +02:00
parent 16852cb1ac
commit b1ce0b414b
2 changed files with 48 additions and 2 deletions
+13 -1
View File
@@ -105,4 +105,16 @@ include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
include = ["scrapling*"]
include = ["scrapling*"]
[tool.mypy]
python_version = "3.10"
warn_unused_configs = true
ignore_missing_imports = true
check_untyped_defs = true
[tool.pyright]
pythonVersion = "3.10"
typeCheckingMode = "basic"
include = ["scrapling"]
ignore = ["tests", "benchmarks.py"]