ops: Add mypy and pyright to the code quality workflow
This commit is contained in:
+13
-1
@@ -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"]
|
||||
Reference in New Issue
Block a user