argos/docs/developer/tests.md
2024-09-26 05:09:34 +02:00

29 lines
554 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
description: Launch tests! Make linting tools happy!
---
# Tests and linting
## Tests
To launch the tests suite:
```bash
make test
```
## Linting
There is 4 lintings checks:
- `make djlint` will check the linting of the HTML templates
- `make pylint` will check the linting of Argos source code
- `make pylint-alembic` will check the linting of Alembics migrations files
- `make ruff` will check the linting of all files
You can launch all of them with:
```bash
make lint
```
To let `ruff` format the code, run:
```bash
make ruff-format
```