From 8e60a643df113dc487e8a48cd114457c319139d7 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Mon, 12 Sep 2022 18:36:11 +0200 Subject: [PATCH] Purposefully wrong type --- pyproject.toml | 1 + woodpeckerpy/main.py | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index b8387ce..b5b6f14 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,5 +35,6 @@ exclude = [] [tool.pyright] #https://github.com/microsoft/pyright/blob/main/docs/configuration.md +include = ["woodpeckerpy/main.py"] typeCheckingMode = "strict" reportUnusedImport = "warning" diff --git a/woodpeckerpy/main.py b/woodpeckerpy/main.py index 67be26d..d4ff294 100644 --- a/woodpeckerpy/main.py +++ b/woodpeckerpy/main.py @@ -8,3 +8,7 @@ class main: integer = 7 print(string) print(integer) + + def wronttype(self) -> None: + string = "test" + return string