Thanks for your interest. This document includes guides and steps how to setup the local environment and make pull requests.
-
Have python installed. We suggest using pyenv to manage python versions.
-
Create virtualenv.
$ python -m venv venv
-
Activate virtualenv.
$ source venv/bin/activate
-
Install pip-tools.
$ python -m pip install pip-tools
-
Run pip-sync to download dependencies.
$ pip-sync
-
Add the dependency in requirements.in.
--- a/requirements.in +++ b/requirements.in @@ -1 +1,2 @@ pre-commit +pytest
-
Run
pip-compile
, which adds it to yourrequirements.txt
.$ pip-compile
-
Run
pip-sync
to install the missing dependencies.$ pip-sync
This repository leverages pre-commit to run custom git hooks.
-
Install the git hooks
$ pre-commit install
Each time that you make a commit, it will run all the git hooks specified in .pre-commit-config.yaml
.
Each pull request requires a changelog entry. This can be generated by running:
$ make changelog
Please use the proper commit message format as elaborated by the AngularJS team.
All pull requests without proper commit message will be rejected.