UV is a tool that aims to replace pip and pip-tools for managing Python dependencies. It uses roughly the same API as pip-tools, but it is way faster since it is written in Rust. Moreover, it is able to install different versions of python.
-
Install the latest version :
curl -LsSf https://astral.sh/uv/install.sh | sh -
Restart your shell
make install- If
make installfails due to pre-commit not found, please run once moremake install.
Installation and usage of ggshield is documented in this Notion page
- Linux:
curl -1sLf 'https://dl.cloudsmith.io/public/gitguardian/ggshield/setup.deb.sh' | sudo -E bash- MacOs:
brew install ggshieldThen authenticate to ggshield:
ggshield auth loginTo check code formatting and static analysis:
make ruff-checkYou can also integrate it to your IDE to reformat your code each time you save a file.
To format code, run static analysis and to apply auto-fixes:
make ruff-fix