My friend Jim @jammcq and I were discussing #precommit (used with #Git). The typical case is simple but annoying:
* You’ve staged all the needed files for commit (with `git add`)
* You attempt the commit
* Trailing whitespace (in this example) makes `pre-commit` deny the commit
* No commit […]
j178/prek: ⚡ Better `pre-commit`, re-engineered in Rust #prek #precommit #dev #ci
Tired of messy commits and forgotten formatting? 😬 Let `pre-commit` clean up your code *before* it hits your repo. From trimming whitespace to catching secrets with gitleaks, it’s your automated QA sidekick. ⚡ Easy setup, big payoff. #devtools #git #precommit #automation […]
Tired of messy commits and forgotten formatting? 😬 Let `pre-commit` clean up your code *before* it hits your repo. From trimming whitespace to catching secrets with gitleaks, it’s your automated QA sidekick. ⚡ Easy setup, big payoff. #devtools #git #precommit #automation
prek 0.2.0 is out:
"If you ran `prek install` in a repo before, you gonna need to run `prek install` again to replace the old git hook scripts for the workspace mode to work."
github.com/j178/prek/re...
Batch re-install:
uv run gist.github.com/hugovk/d601e...
#Python #prek #lint #precommit #uv
A new feature that is CRITICAL when using tools like #claude #code is #pmat #precommit #hooks. Why? It enforces complexity, SATD before you check in code, i.e. you have to fix. Now standard with: cargo install pmat.
Check it out!
🆕 I've been using a new tool called prek as a drop-in replacement for pre-commit.
It uses uv and is rewritten in Rust (because of course) and as you'd expect is much faster.
Try it!
hugovk.dev/blog/2025/re...
#Python #prek #lint #precommit #uv
My golang knowledge is pretty basic. I had to do some updates to a product at work, and it was pretty easy and straight forward. Actually quite fun. Just to learn more golang, I started working on a cli-tool for my Niri setup, and it's actually pretty usable already.
I just want to polish it and […]
Take your Odoo development to the next level by automating code quality checks with pre-commit hooks and GitHub CI. Enforce standards, catch errors early, and streamline your workflow. #Odoo #DevOps #precommit #CI #Python
Unlock flawless Odoo development! Use pre-commit Odoo apps with OCA hooks to automate linting, enforce quality, and streamline CI workflows. #Odoo #precommit #OCA #DevOps #Python
Learn how to automate Odoo module quality with pre-commit hooks! #Odoo #precommit #OCA #DevOps #Python. Master setup, OCA integration, and CI automation in this hands‑on guide. Boost your team's code standards!
#Gitleaks: Secret Detection for Code Repositories 🔐
Comprehensive #security scanning tool:
• 🔍 Detects passwords, API keys in #git repos & files
• 🚀 Install via #Homebrew, #Docker, or source code
• 🔄 Integrates as #GitHub Action or #precommit hook
🧵👇#DevOps
flake8 pre-commit integration for Odoo enhances code quality. Follow this comprehensive guide to set up, configure, and troubleshoot your workflow. #Odoo #flake8 #precommit
luke.geek.nz/misc/pr...
#azure #codespaces #github #git #precommit #devops #terraform #mvpbuzz