Purposefully wrong type
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
ci/woodpecker/push/linting Pipeline failed

This commit is contained in:
RealStickman 2022-09-12 18:36:11 +02:00
parent 73b9b7ab5f
commit 8e60a643df
2 changed files with 5 additions and 0 deletions

View File

@ -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"

View File

@ -8,3 +8,7 @@ class main:
integer = 7
print(string)
print(integer)
def wronttype(self) -> None:
string = "test"
return string