From the pyOpenSci comment:
(pyrightconfig.json): This is purely a personal preference, but I like having my pyright configuration in my pyproject.toml file. I am not expecting a change, I just wanted to let you know about this possibility.
pyOpenSci/software-submission#202 (comment)