## Prettier - to format typescript files ```npx prettier --write src/app/``` ## Eslint - to lint typescript files ```shell script eslint src/app/ ``` Optional to fix the errors as well ``` eslint src/app/ --fix ``` ### Poerty remove environment ```sh rm -rf `poetry env info -p` ``` ### Poerty install ```sh poetry install ``` ### Setup python environment ```sh # Install pyenv to manage python versions curl https://pyenv.run | bash # Install pyenv dependencies to build python (Optional) sudo apt update; sudo apt install make build-essential libssl-dev zlib1g-dev \ libbz2-dev libreadline-dev libsqlite3-dev curl git \ libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev # Install python 3.13 pyenv install 3.13 # Use python in the ~/programming/brewman/brewman directory cd ~/programming/brewman/brewman pyenv local 3.13 # Tell Poetry to use the pyenv Python poetry env use python # Or this eval $(poetry env activate)