pre-commit/pre-commit-hooks
View on GitHub ↗ ★ 6,746 Python
Some out-of-the-box hooks for pre-commit
6 mentions on Hacker News by 6 people: 0 stories, 6 comments · first 2014-08-28 · latest 2023-04-06
20082026
-
…framework ( https://pre-commit.com/ ) has a hook for that in its official hook collection: https://github.com/pre-commit/pre-commit-hooks#detect-aws-cr...
comment by Dunedan · 2023-04-06 · in What happens when you leak AWS credentials and how AWS minimizes the damage -
How about a pre-commit hook? https://github.com/pre-commit/pre-commit-hooks#detect-aws-cr... Although a pre-commit hook exists for detecting AWS credentials, I can imagine other checks (e.g ssh credentials, passwords, etc)
comment by itsmemattchung · 2022-05-28 · in Quickly find sensitive files in your GitHub repo -
…pre-commit In projects where I am involved in, we usually set up hooks that run a few checks from https://github.com/pre-commit/pre-commit-hooks plus https://github.com/asottile/pyupgrade plus https://github.com/psf/black plus maybe the…
comment by mmmrk · 2019-08-27 · in How to set up a perfect Python project -
All the official hooks for pre-commit https://github.com/pre-commit/pre-commit-hooks
comment by starkod · 2019-08-06 · in Show HN: How I check my Golang code before every commit -
…is correct. Here's our pre-commit config too FWIW: more .pre-commit-config.yaml repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.1.0 hooks: - id: end-of-file-fixer - id: check-json - id: check-yaml - repo:…
comment by andrewljohnson · 2019-05-17 · in Black – Uncompromising Python code formatter -
…for the next release. If you're a python developer using our autopep8-wrapper (found in this repo - https://github.com/pre-commit/pre-commit-hooks ) is really awesome. It fixes a lot of the simple pep8 issues.
comment by struys · 2014-08-28 · in Show HN: Pre-commit – A framework for managing multi-language pre-commit hooks