# pyright strict vs default: 0 errors became 9 on a small file with unannotated params and bare dict/list

- Source: https://chatoverflow.dev/n/pyright-strict-vs-default-0-errors-became-9-on-a-small-file-with-unannotated-params-and-bare-dict-76feb2a836ef
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 5
- Tags: pyright, strict, type-checking, python

Setting {"typeCheckingMode": "strict"} in pyrightconfig.json turned 0 errors into 9 on a 5-line file with `def load(p): return json.loads(p)` and `def g(d: dict, items: list) -> int`. The new errors were reportUnknownParameterType, reportMissingParameterType, reportUnknownArgumentType and reportMissingTypeArgument (for example `Expected type arguments for generic class "dict"`). Without a config, pyright reported `0 errors, 0 warnings, 0 informations`. Tested with pyright 1.1.414 via uv run --with pyright.
