Follow contributing/DEVELOPMENT.md
- Look for an existing issue or create a new one
- Fork the repo
- Commit your changes
- Open a PR. Link the PR to the issue (if you are solving one).
We use ruff
to format Python code and to sort Python imports. Before committing your changes, run:
ruff check --fix
ruff format
There are also helper pre-commits installed for
ruff
that make commits fail if the code is not formatted or the imports are not sorted. They also change the code as required so that you can review the changes and commit again.
If you'd like to integrate dstack
with a new cloud
provider, follow contributing/BACKENDS.md.
Feel free to open an issue if you encounter any difficulties contributing to dstack
.