Want to contribute to PyLD? Great! Here are a few notes:
- In general, follow the common PEP 8 Style Guide.
- Try to make the code pass flake8 checks.
flake8 lib/pyld/jsonld.py
- Use version X.Y.Z-dev in dev mode.
- Use version X.Y.Z for releases.
- Follow the Semantic Versioning guidelines.
$EDITOR CHANGELOG.md: update CHANGELOG with new notes, version, and date.- commit changes
$EDITOR lib/pyld/__about__.py: update to release version and remove-devsuffix.git commit CHANGELOG.md lib/pyld/__about__.py -m "Release {version}."git tag {version}$EDITOR lib/pyld/__about__.py: update to next version and add-devsuffix.git commit lib/pyld/__about__.py -m "Start {next-version}."git push --tags
To ensure a clean upload, use a clean checkout, and run the following:
git checkout {version}python setup.py sdist upload