-
-
Notifications
You must be signed in to change notification settings - Fork 22
Jazzband Contributing Guide #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
e09d4ea
remove non-tested django versions from the list of tested versions in…
dpgraham4401 f005bc8
add snippet on generating SECRET_KEYs
dpgraham4401 dacc011
add contributing readme
dpgraham4401 504df28
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] d20b79c
add file filter for github actions lint-and-test workflow
dpgraham4401 8b5c0de
add path filters for the lint and test github actions workflow
dpgraham4401 e054016
use path-ignore instead of path for file filters
dpgraham4401 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| [](https://jazzband.co/) | ||
|
|
||
| This is a [Jazzband](https://jazzband.co/) project. | ||
| By contributing you agree to abide by the [Contributor Code of Conduct](https://jazzband.co/about/conduct) and follow the [guidelines](https://jazzband.co/about/guidelines). | ||
|
|
||
| ## Contributing to Django Fernet Encrypted Fields | ||
|
|
||
| We welcome contributions from the community to improve and maintain Django Fernet Encrypted Fields. | ||
| Please follow these guidelines to ensure your contributions are accepted: | ||
|
|
||
| 1. **Fork the Repository**: Start by forking the repository to a personal/organization GitHub account. | ||
| 2. **Clone the Repository**: Clone the forked repository to your local machine. | ||
| 3. **Set Up the Environment**: Set up a virtual environment and install the necessary | ||
| dependencies for development and testing. | ||
| ```shell | ||
| $ python -m venv .venv | ||
| $ source .venv/bin/activate | ||
| $ pip install -r requirements.txt | ||
| ``` | ||
| 4. **Install the pre-commit hooks**: We use [pre-commit](https://pre-commit.com/) to ensure code quality. | ||
| Install the pre-commit hooks by running: | ||
| ```shell | ||
| $ pre-commit install | ||
| ``` | ||
| 5. **Create a Branch**: Create a new branch for the feature or bug fix. | ||
| 6. **Make Changes**: Make the changes and ensure they are well-documented. | ||
| 7. **Run Tests**: Ensure all tests pass before submitting a pull request. | ||
| ```shell | ||
| $ pip install coverage pytest | ||
| $ coverage3 run --source='./encrypted_fields' manage.py test | ||
| ``` | ||
| 8. **Submit Pull Request**: Submit a pull request with a clear title, description of the changes, | ||
| motivations, and any relevant issue numbers. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.