Contributing#
Contributions are welcome and greatly appreciated!
The best way to get in touch with the core developers and maintainers of FraCSPy is to open new Issues directly from the GitHub repo.
Welcomed contributions#
Bug reports#
Report bugs at FraCSPy/fracspy#issues
If you are playing with the FraCSPy library and find a bug, please reporting it including:
Your operating system name and version.
Any details about your Python environment.
Detailed steps to reproduce the bug.
New algorithms#
The best way to send feedback is to open an issue at FraCSPy/fracspy#issues with tag enhancement.
If you are proposing to include a new algorithm or a new feature for an existing algorithm:
Explain in detail how it should work.
Keep the scope as narrow as possible, to make it easier to implement.
Fix issues#
There is always a backlog of issues that need to be dealt with. Look through the GitHub Issues for feature requests or bugfixes.
Add examples or improve documentation#
Writing new algorithms is not the only way to get involved and contribute. Create examples with existing algorithms as well as improving their documentation is as important as developing new algorithms and very much encouraged.
Step-by-step instructions for contributing#
Ready to contribute?
Follow all instructions in Step-by-step installation for developers.
Create a branch for local development, usually starting from the main branch:
>> git checkout -b name-of-your-branch dev
Now you can make your changes locally.
When you’re done making changes, check that both old and new tests pass successfully:
>> make tests
Update the docs
>> make docupdate
Commit your changes and push your branch to GitHub:
>> git add .
>> git commit -m "Your detailed description of your changes."
>> git push origin name-of-your-branch
Remember to add -u
when pushing the branch for the first time.
We recommend using Conventional Commits to
format your commit messages, but this is not enforced.
Submit a pull request through the GitHub website.
Pull Request Guidelines#
Before you submit a pull request, check that it meets these guidelines:
The pull request should include new tests for all the core routines that have been developed.
If the pull request adds functionality, the docs should be updated accordingly.
Ensure that the updated code passes all tests.