Thank you for considering contributing to awscli-login! We are happy to accept your contributions.
See Code of Conduct
Submit a GitHub Issue.
Submit a GitHub Issue.
- Python 3.8 or higher
- GNU Make
-
Fork and clone the project with
git
-
(Recommended) Create a Python Virtual Env
$ python -m venv venv $ source venv/bin/activate
Tip: Our
Makefile
expects the commandpython
to be aliased to your preferred version of Python3.
-
Build
(venv) $ make deps (venv) $ make build
Tip: The
Makefile
may warn about missingsetuptools_scm
toward the start of thedeps
step. This can be safely ignored.
-
Run the unit tests to verify the environment
(venv) $ make test ... Ran 109 tests in 0.889s OK
-
Install
(venv) $ pip install . ... Successfully installed awscli-login-0.2b2.dev79 lxml-5.3.0
Tip:
pip install -e .
will not work for running integration tests with AWS CLI.
To run the unit and static tests against your current python run:
$ make test
The test across multiple supported versions of python install pyenv. Then run the following commands:
$ make .python-version
$ make tox
Because we create our 'CHANGELOG.md' from our git logs, we have a standard for our git logs. This standard applies to commits that make it into the `master` branch, so please apply it, in particular, when closing a pull request.
- First line of the commit should be short and sweet, and customer focused.
- Commit details should be formatted as a bulleted list, and developer focused.
- Commit details should include GitHub keywords such as 'Closes #123' to maintain CHANGELOG links to GitHub issue numbers on a separate final un-bulleted line.
The project uses PEP-8 as enforced by flake8.