mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-16 19:41:07 +03:00
Python is likely to be installed when working on Python code, which should make it more portable and consistent.
21 lines
281 B
Markdown
21 lines
281 B
Markdown
Code generation:
|
|
|
|
```sh
|
|
pip install -e generator/
|
|
python tools/codegen.py
|
|
```
|
|
|
|
Formatting, type-checking and testing:
|
|
|
|
```sh
|
|
pip install isort black mypy pytest pytest-asyncio
|
|
python tools/check.py
|
|
```
|
|
|
|
Documentation:
|
|
|
|
```sh
|
|
pip install sphinx_rtd_theme
|
|
python tools/docgen.py
|
|
```
|