2020-05-04 15:20:36 +00:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
title: For developers
|
2020-09-03 17:53:22 +00:00
|
|
|
nav_order: 4
|
2020-05-04 15:20:36 +00:00
|
|
|
has_children: true
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
For developers
|
|
|
|
==============
|
|
|
|
|
|
|
|
Thanks for contributing :)
|
2021-11-17 16:53:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
Tests
|
|
|
|
=====
|
|
|
|
|
|
|
|
This project has unit tests that help prevent regressions. Before you can run the tests, you must install a few dependencies:
|
|
|
|
```bash
|
2022-08-03 12:10:32 +00:00
|
|
|
poetry install
|
|
|
|
npm i
|
2021-11-17 16:53:32 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Then to run the tests:
|
|
|
|
```bash
|
|
|
|
make test
|
|
|
|
```
|
2022-08-03 12:10:32 +00:00
|
|
|
|
|
|
|
Run formatting:
|
|
|
|
```bash
|
|
|
|
make format
|
|
|
|
```
|
|
|
|
|
|
|
|
Run mypy checks:
|
|
|
|
```bash
|
|
|
|
poetry run mypy
|
|
|
|
```
|
|
|
|
|
|
|
|
Run everything:
|
|
|
|
```bash
|
|
|
|
make all
|
|
|
|
```
|