pip install dev dependencies pyproject toml

preview_player
Показать описание
Before we begin, make sure you have the following installed:
In this example, we're adding pytest for testing, flake8 for linting, and black for code formatting. Adjust the versions based on your project requirements.
Now, use pip to install the development dependencies.
This command installs the project in editable mode (-e), ensuring changes to the source code are reflected immediately. The . at the end specifies the current directory as the project root.
If you prefer to keep development dependencies separate, you can use [dev] to install only the dev dependencies.
Remember to adjust the versions of the dependencies according to your project's compatibility requirements. Happy coding!
ChatGPT
Рекомендации по теме