Pylsp check only current file

I am set up two servers in the same way: ‘pyright’, ‘pylsp’ on the project in directory with .venv and pyproject.toml.

    on_attach = on_attach,

‘pyright’ diagnosed the entire project, but ‘pylsp’ checked only current buffer.
My qustion: is there config setting for pylsp to check the whole project? Is it bug, or it’s normal behavior.