Thank you for your interest in contributing to SelectedInversion.jl! We appreciate your help in improving and maintaining this package. The following guidelines will help you get started.
- Fork and Clone the repository:
git clone https://github.com/timweiland/SelectedInversion.jl.git cd SelectedInversion.jl - Set up the environment:
using Pkg Pkg.activate(".") Pkg.instantiate()
- Run tests to ensure everything works:
using Pkg Pkg.test("SelectedInversion")
- Follow the Julia Style Guide.
- Use meaningful variable names and avoid excessive abbreviations.
- Format your code using
JuliaFormatter.jl:using JuliaFormatter format(".")
- Open an issue before implementing new features to discuss your idea.
- Document your code with docstrings using Julia’s
@docformat. - Write tests for new functionality (see next section).
- Ensure tests pass before submitting your changes.
SelectedInversion.jl uses Test.jl for unit tests. To run tests:
using Pkg
Pkg.test("SelectedInversion")When adding a new feature:
- Place test cases in the
test/directory. - Write small, focused tests that validate the correctness of your code.
- If applicable, add edge cases and performance benchmarks.
- Push your changes to your fork and create a pull request (PR) against the
mainbranch. - Ensure your PR:
- Passes all tests.
- Includes appropriate documentation and tests.
- Provides a clear description of the changes.
- Be open to feedback and revisions during the review process.
If you find a bug or have a feature request, please open an issue. When reporting bugs:
- Provide a minimal reproducible example.
- Include Julia and SelectedInversion.jl version information.
- Describe expected vs. actual behavior.
By contributing, you agree that your contributions will be licensed under the same license as the repository.
Thank you for contributing to SelectedInversion.jl! 🚀