This repository contains styles guides, suggested workflows, and best practices for sofware-related content developed by STScI staff. Style guides are designed to ensure that STScI software, GitHub repositories, documentation, and example analyses follow a consistent style. Suggested workflows provide robust methods for producing work to help aid collaboration and maximize clarity. While we recommend reading the full policies and further material, we highlight some of the most common best practices that are applicable to our software projects.
Currently there are styles guides for:
In addition, there are the following guides for best practices and workflows:
- Git Workflow
- PR Review
- Software Versioning
- Python Packaging
- Testing Python Packages
- Storing Data
- Release Workflow
- The STScI package template: https://github.com/spacetelescope/stsci-package-template
If you want to suggest changes to this content do the following:
- Fork it.
- Create your feature branch (
git checkout -b my-new-feature
). - Add your changes to staging area (
git add myfile
); This can be repeated multiple times. - If you are adding a new style guide, do not forget to update
guides listing at
README.md
. - Commit your changes in staging area (
git commit -m 'Added some feature'
). - Push to the branch (
git push origin my-new-feature
). - Create new Pull Request (PR).
- Ask for a PR review.