When contributing to this repository, please first discuss the change you wish to make via issue with the repository owners before making a change.
As a starting point, you need to set up the environment for the development process.
Once you have the necessary tools, you are ready to set up the project using the following Makefile target:
make clean install
It creates virtual environment and install all dependencies.
From now, you are all set for coding!
Other helpful Makefile targets:
make check # Run formatters and linters
make unit # Run unit tests
We have integration tests against real Kusto instance. To set up such tests you need to create .env
file and provide your Kusto instance credentials. See Integration tests setup
section of .env.sample for more details.
To run integration tests use one of the following commands:
make integration # Run integration tests
make test # Run both unit and integration tests
You are not required to set up and run integration tests for contributing.
This project uses EditorConfig. All style settings you may find in the .editorconfig file. Additionally, we use Black as a default formatting tool.
Please, use consistent code style in your contributions.
First, your PRs are very welcome! Use the following guidelines to make your PRs even better:
- Please fork this repository, and create a new branch for your feature/bugfix.
- After finishing the development, run the following commands:
make check
to make sure that code is properly formatted, and comply with PEP 8 style guide.make test
to run the test suite.
- When opening a PR, it's mandatory to reference an issue (or set of issues) it resolves. PRs without linked issues won't be reviewed.
- Please describe the purpose of the PR. What problem are you trying to solve, and what is the solution?
- Please add tests to your PR.
- Please make sure that all PR automatic checks are passed successfully.
Please do not hesitate to let us know if you have any issues during development process. Happy coding!
We use GitHub issues to track public bugs and feature suggestions. Report a bug or suggest a feature by opening a new issue.
By contributing, you agree that your contributions will be licensed under its Apache License 2.0.
This project has adopted the Code of Conduct.