make devThe entire test suite can be run with:
make testThe test suite is supported by pystest. You can pass flags to pytest by running:
PYTEST_FLAGS="tests/test_repack.py --pdb -vv" make testTo run tests against a specific database, set the DATABASE_URL environment variable:
DATABASE_URL=postgres://marcelo.fernandes:postgres@localhost:5415/postgres make testWe try to keep code coverage as high as possible. There are a few coverage commands:
Run tests and produce a report in the terminal:
make coverageRun tests and produce a rich HTML report (more info than int the terminal command):
make coverage_htmlWe use ruff and mypy for linting. To run both linters, run:
make lint