> For the complete documentation index, see [llms.txt](https://annotate-docs.dwaste.live/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://annotate-docs.dwaste.live/fundamentals/set-up-and-run/code-formatting.md).

# Code Formatting

### Client-side (Vite React Application)

* **Code Formatter:** [Prettier](https://prettier.io/)
* **Configuration File:** `.prettierrc`
* **Command:** Run `npm run format` or `yarn format` to format client-side code using Prettier.

### Server-side (Flask Application)

* **Code Formatter:** [Black](https://pypi.org/project/black/)
* **Configuration File:** `pyproject.toml`
* **Command:** Run `black .` to format server-side code using Black.
