- Python >= 3.7
- virtualenv >= 16.4.3
- NPM >= 6.7.0
- GNU Make >= 3.8.1
- Create a new sandbox (aka venv) and install required python libraries into it
virtualenv --python=python3.7 venv source venv/bin/activate # Install Python packages pip install -r requirements.txt pip install -r requirements-dev.txt
- Install NPM packages.
npm install
- Run
maketo execute all tests.
- Setup the Python Interpreter
- For PyCharm, go to
Settings -> Project Settings -> Project Interpreter. - For IntelliJ, go to
File -> Project Structure -> Project -> Project SDK. - Add a
Virtualenv Environmentfrom anExisting environmentand set the Interpreter toYOUR_REPO_ROOT/venv/bin/python.
- For PyCharm, go to
- We force the following checks in before changes can be merged into master:
eslint,
prettier,
isort,
black,
pylint,
mypy.
- You can run
maketo executes all checks. - To fix any formatting or import errors, you can simply run
make format. - For more details, see the
formatandformat-checktasks in the Makefile
- You can run