nicepyright
nicepyright is a tool that provides a nicer CLI interface to the pyright type checker. It continuously monitors and displays type warnings in a more user-friendly format.
Please note that nicepyright is currently in an early stage of development, so it may be feature incomplete and contain bugs. However, it is already useful and can help you to find type warnings in your code faster and more easily.
Installation
nicepyright is available on PyPI and can be installed with pip, poetry, or your favorite Python package manager.
poetry add --dev nicepyright
Usage
To use nicepyright, navigate to the root directory of your project and run the following command:
nicepyright
Make sure that the environment being used is the one that contains all the libraries your project uses.
That is, if you are using a virtual environment, make sure that it is activated.
If you are using poetry, you can use the poetry run command to ensure that the correct version of nicepyright is used.
poetry run nicepyright
This will start the pyright type checker and display the type warnings in a more user-friendly format.
Release files for nicepyright 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nicepyright-0.1.2.tar.gz | 21.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nicepyright-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.6 kB
Release files / nicepyright-0.1.2.tar.gz
| Download URL | nicepyright-0.1.2.tar.gz |
|---|---|
| Size | 21.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
789251f7d1821c207976a2e19d85fee13fad6d3309280dc75332f6e2a7b0adfd
|
|
BLAKE2b-256 checksum How to use checksums |
9b7ebeaa3784283e943453cdfceea678174c95901ba0ed096ee59f5c8f89dfa0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.10.8 Linux/6.1.0
|
Release files / nicepyright-0.1.2-py3-none-any.whl
| Download URL | nicepyright-0.1.2-py3-none-any.whl |
|---|---|
| Size | 22.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b40cdd5931fe088d01e50fd501ef4fa3b917a0cd847438f0f2ee7d9ed4eb9cc3
|
|
BLAKE2b-256 checksum How to use checksums |
9ea152eb6e32ee421699f32db5783a916ef8cc99b7568213e45566ca4c44d10c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.10.8 Linux/6.1.0
|