Loading .pre-commit-config.yaml +9 −1 Original line number Diff line number Diff line Loading @@ -88,6 +88,14 @@ repos: - --follow-imports=silent - wpa_supplicant pass_filenames: false additional_dependencies: additional_dependencies: &type-deps - anyio ~=4.0 - trio-typing - repo: https://github.com/RobertCraigie/pyright-python rev: v1.1.373 hooks: - id: pyright args: ["--pythonversion=3.11"] pass_filenames: false additional_dependencies: *type-deps pyproject.toml +9 −0 Original line number Diff line number Diff line Loading @@ -55,6 +55,15 @@ warn_unreachable = true warn_unused_configs = true [tool.pyright] include = ["wpa_supplicant"] typeCheckingMode = "strict" reportMissingModuleSource = "none" reportRedeclaration = "none" reportUnknownMemberType = "warning" reportUnusedImport = "warning" [tool.coverage.run] data_file = "results/coverage.db" branch = true Loading Loading
.pre-commit-config.yaml +9 −1 Original line number Diff line number Diff line Loading @@ -88,6 +88,14 @@ repos: - --follow-imports=silent - wpa_supplicant pass_filenames: false additional_dependencies: additional_dependencies: &type-deps - anyio ~=4.0 - trio-typing - repo: https://github.com/RobertCraigie/pyright-python rev: v1.1.373 hooks: - id: pyright args: ["--pythonversion=3.11"] pass_filenames: false additional_dependencies: *type-deps
pyproject.toml +9 −0 Original line number Diff line number Diff line Loading @@ -55,6 +55,15 @@ warn_unreachable = true warn_unused_configs = true [tool.pyright] include = ["wpa_supplicant"] typeCheckingMode = "strict" reportMissingModuleSource = "none" reportRedeclaration = "none" reportUnknownMemberType = "warning" reportUnusedImport = "warning" [tool.coverage.run] data_file = "results/coverage.db" branch = true Loading