Hacker GitHub

← All repos

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

Mentions per year 6 mentions · busiest year 2019 (3)
20082026
  1. …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...
  2. 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
  3. …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
  4. All the official hooks for pre-commit https://github.com/pre-commit/pre-commit-hooks
  5. …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
  6. …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.