This repository uses autopep8 to format Python code with its default settings.
To install autopep8, ensure you have python and pip installed and run pip install autopep8. This install autopep8 globally to your system.
Format code by running:
autopep8 -aaar --in-place --exclude back-end/server/settings.py,*/migrations/*.py .The formatting is checked with pycodestyle. To install it, run pip3 install pycodestyle.
Check formatting by running:
pycodestyle --exclude back-end/server/settings.py,*/migrations/*.py .This repository uses tofu fmt to format .tf configuration files.
Format code by running:
tofu fmt -recursiveCheck formatting by running:
tofu fmt -check -recursiveThis repository uses Prettier to format code with its default settings.
To install Prettier, ensure you have Nodejs and npm installed and run npm ci. This installs prettier to node_modules in this directory.
Format code by running:
npm run formatCheck formatting by running:
npm run format:checkTo execute acceptance tests with docker-compose, run:
docker compose -f docker-compose.test-host-net.yml up --exit-code-from testNote that tests except empty database. To clean up test database volume after execution, run:
docker compose -f docker-compose.test-host-net.yml down -v