Skip to content

abhidg/pre-commit-to-better-code

Repository files navigation

Pre-commit to better code

Accompanying repository for the RSECon25 walkthrough.

Slides

Slides are written using dzslides, and are in a single standalone HTML file: slides.html

Walkthrough setup

Install uv to be able to run the script with uv run sunblock.py. Alternatively you can create a virtual environment and install the dependencies:

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Also install pre-commit, installation instructions:

brew install pre-commit     # Homebrew
pip install pre-commit      # General, Windows
sudo apt install pre-commit # Debian/Ubuntu
sudo dnf install pre-commit # Fedora

Language-specific hooks

Language-agnostic hooks

Note

https://pre-commit.com/hooks.html has a good list of useful hooks

About

Pre-commit to better code, accompanying RSECon25 talk

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published