🚧 The DIBBs eCR Refiner is under construction 🚧
The linter can be run two different ways: either manually via the ruff
command or automatically when you go to create a new commit, which is powered by pre-commit
.
- Activate the
refiner
virtual environment (steps listed here) - Install dev dependencies with
pip install -r dev-requirements.txt
- Run any
ruff
command you'd like (see here)
- Install pre-commit
- Run
pre-commit install
- Run
pre-commit run --all-files
to check that the tool is working properly
The pre-commit
hook will automatically fix any linter issues and will also format the code.
The project can be run from the top-level directory with docker compose up
.