gjira
pre-commit
gjira | pre-commit | |
---|---|---|
1 | 201 | |
77 | 13,263 | |
- | 1.6% | |
0.0 | 8.1 | |
almost 2 years ago | 4 days ago | |
Python | Python | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gjira
pre-commit
-
Terraform Cookbook: Development Environment Recipe
Pre-commit: git hook manager
-
Crafting a Custom SAM Template for Your AWS Lambda Function, Resource, and Operations
Just give you an idea of how to implement a template for serverless in your organization; you can create multiple cases and embed the practice of your organization to the template like pre-commit, cicd, lambda-layer-secret, lambda-layer-powertools and more
-
Speed up CI with uv ⚡
When using pre-commit for linting:
-
12 Steps to Organize and Maintain Your Python Codebase for Beginners
Instead of running these tools manually every time you make changes, you can automate the process with pre-commit hooks. Pre-commit hooks run automatically before each commit, blocking the commit if any tool fails.
-
How I use git
Our team is small and we use:
git hooks from https://pre-commit.com
-
How to Estimate Cloud Costs with Terraform and InfraCost
You can also add InfraCost as part of the pre-commit. With pre-commit, you can define some hooks that you can easily run before you push your code. There are multiple ways to install pre-commit, and you can find examples here.
-
How Should You Use an Auto-Formatter?
In the case of pre-commit hooks, the runtime either has to be installed manually by every user (in the case of Husky) or is handled in Python (in the case of pre-commit). Running Node.js through Python/pyenv introduces an additional layer of complexity, which can lead to issues like OpenSSL library incompatibilities.
-
Using TruffleHog and pre-commit hook to prevent secret exposure
I'm using pre-commit, follow the link to get installation instructions.
-
How to review as a Pro
Not only can you check how well your code follows certain rules but also add auto-formatting options. This way, most inconsistencies are fixed automatically, saving time. Linters start up can be automated, for example, with pre-commit tool for python and this logic can be integrated into GitHub PR or new commits workflow. So before a new Pull Request is reviewed, it's the author who resolves any code style issues.
-
How to setup Black and pre-commit in python for auto text-formatting on commit
Today we are going to look at how to setup Black (a python code formatter) and pre-commit (a package for handling git hooks in python) to automatically format you code on commit.
What are some alternatives?
wtf - Whitespace Total Fixer
husky - Git hooks made easy 🐶 woof!
jira - Python Jira library. Development chat available on https://matrix.to/#/#pycontribs:matrix.org
ruff - An extremely fast Python linter and code formatter, written in Rust.
enforce-githooks - enforce-githooks is a Python tool that helps you make a better git experience using git hooks.
semgrep - Lightweight static analysis for many languages. Find bug variants with patterns that look like source code.
autohooks - Library for managing git hooks
gitleaks - Find secrets with Gitleaks 🔑
pre-commit-hooks - Some out-of-the-box hooks for pre-commit
lint-staged - 🚫💩 — Run linters on git staged files
simple-git-hooks - A simple git hooks manager for small projects
pre-commit-golang - Pre-commit hooks for Golang with support for monorepos, the ability to pass arguments and environment variables to all hooks, and the ability to invoke custom go tools.