When contributing to this repository, please first discuss the change you wish to make via issue or any other method with the owners of this repository before making a change.
- Read the project's README.md to learn how to setup the development environment.
- Find an issue to work on. The best way is to look for the good first issue or help wanted labels
- Comment on the issue saying you are going to work on it.
- Code! Make sure to update unit tests!
- When done, create your pull request.
- Verify that CI passes all status checks, or fix if needed.
- Wait for other developers to review your code and update code as needed.
- Once reviewed and approved, a DirtViz developer will merge your pull request.
- Verify that CI passes all status checks, or fix if needed.
- Update the pull request with details of changes to the interface, this includes new environment variables, exposed ports, useful file locations and container parameters.
- Wait for other developers to review your code and update code as needed.
- Once reviewed and approved, a DirtViz developer will merge your pull request.
DirtViz uses various formmaters and linters to maintain a standard of code.
For Python files, DirtViz uses Black to format files to keep coding styles consistent throughout the code base.
To install run:
pip install blackFor JSX files, DirtViz uses Prettier to format files to keep coding styles consistent throughout the code base.
To install Prettier, search up Prettier in VSCode extension marketplace and install it.
For Python files, DirtViz uses Ruff to lint for potential syntax/code errors. Run ruff with the following command:
ruff check .For JSX files, DirtViz uses ESLint to lint for potential syntax/code errors. Run ESLint with the following command while in the frontend folder:
npm run lintPortions adopted from https://github.com/rapidsai/cuml/blob/branch-24.04/CONTRIBUTING.md