Pyright ignores configuration from custom toml files #7972
Labels
addressed in next version
Issue is fixed and will appear in next published version
enhancement request
New feature or request
Describe the bug
Option
--project
of command-line version of pyright does not support configuration in toml file. The configuration in toml files other than 'pyproject.toml` is ignored. If emit verbose diagnostics of pyright, it will show that it does not find any configuration file.Code or Screenshots
For example, I will use
configs
folder, in which configuration files will be saved. Create configuration inconfigs/pyright.toml
:and similarly in
configs/pyright.json
:When running with toml configuration file:
pyright writes that it cannot find configuration file:
When running with json configuration file:
pyright writes that it found configuration file in
./configs/pyright.json
and uploaded it:This behavior does not seem consistent for different formats of configuration file. It is expected that pyright will read toml file as well as json configuration file.
VS Code extension or command-line
The text was updated successfully, but these errors were encountered: