<h1 align="center">
<a href="https://prompts.chat">
Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
Loading actions...
<a href="https://prompts.chat">
TypeScript and ESLint rules that MUST be followed when creating, modifying, or reviewing any file under apps/frontend/, including .ts, .tsx, .js, and .jsx files. Also apply when discussing frontend linting, type safety, or ESLint configuration.
risks
Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
To make a contribution, follow the following steps:
For more details about pull requests, please read GitHub's guides.
We use poetry as our package manager. You can install poetry by following the instructions here.
Please DO NOT use pip or conda to install the dependencies. Instead, use poetry:
poetry install --all-extras --with dev
To ensure our standards, make sure to install pre-commit before starting to contribute.
pre-commit install
We use ruff to lint our code. You can run the linter by running the following command:
make format_diff
Make sure that the linter does not report any errors or warnings before submitting a pull request.
ruff-formatWe use ruff to reformat the code by running the following command:
make format
We use codespell to check the spelling of our code. You can run codespell by running the following command:
make spell_fix
We use pytest to test our code. You can run the tests by running the following command:
make test_all
If you prefer, you can run only the core tests with the command:
make test_core
or the test of extensions with the command:
make test_extensions
You can also run the tests with coverage by running the following command:
make test-coverage
Make sure that all tests pass before submitting a pull request.
At the moment, the release process is manual. We try to make frequent releases. Usually, we release a new version when we have a new feature or bugfix. A developer with admin rights to the repository will create a new release on GitHub, and then publish the new version to PyPI.