mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00

* CI: strict mypy check in github actions mypy_files.txt is a list of files that will fail the CI if mypy finds errors in them * don't need these * `Any` should be a way to silence the type checker * restrict return Any * CI: pyright in github actions * fix mistake in translating from mypy * missed another change from mypy to pyright * pin pyright version * add more paths that should trigger check * use Python instead of bash * type error for testing CI * Revert "type error for testing CI" This reverts commit 99f65f3dadf67fb18b6bbee90bd77d8dbd10f9f9. * oops * don't need to redirect output
28 lines
427 B
JSON
28 lines
427 B
JSON
{
|
|
"include": [
|
|
"type_check.py",
|
|
"../worlds/AutoSNIClient.py",
|
|
"../Patch.py"
|
|
],
|
|
|
|
"exclude": [
|
|
"**/__pycache__"
|
|
],
|
|
|
|
"stubPath": "../typings",
|
|
|
|
"typeCheckingMode": "strict",
|
|
"reportImplicitOverride": "error",
|
|
"reportMissingImports": true,
|
|
"reportMissingTypeStubs": true,
|
|
|
|
"pythonVersion": "3.8",
|
|
"pythonPlatform": "Windows",
|
|
|
|
"executionEnvironments": [
|
|
{
|
|
"root": ".."
|
|
}
|
|
]
|
|
}
|