All Projects → pre-commit → pre-commit-mirror-maker

pre-commit / pre-commit-mirror-maker

Licence: MIT license
Scripts for creating mirror repositories that do not have .pre-commit-hooks.yaml

Programming Languages

python
139335 projects - #7 most used programming language
ruby
36898 projects - #4 most used programming language
rust
11053 projects

Projects that are alternatives of or similar to pre-commit-mirror-maker

pre-commit-hooks
Standardizing our code quality tooling 🛠️
Stars: ✭ 44 (+131.58%)
Mutual labels:  pre-commit
hulks
Olist custom linting hooks 💚 👽
Stars: ✭ 25 (+31.58%)
Mutual labels:  pre-commit
ready
A program to run tasks before a commit.
Stars: ✭ 16 (-15.79%)
Mutual labels:  pre-commit
slackbridge
Bridge between IRC and Slack running on Kubernetes
Stars: ✭ 12 (-36.84%)
Mutual labels:  pre-commit
detect-secrets
A developer-friendly secrets detection tool for CI and pre-commit hooks based on Yelp's detect-secrets
Stars: ✭ 43 (+126.32%)
Mutual labels:  pre-commit
create-react-redux-app
React boilerplate based on create-react-app
Stars: ✭ 49 (+157.89%)
Mutual labels:  pre-commit
check-jsonschema
A CLI and set of pre-commit hooks for jsonschema validation with built-in support for GitHub Workflows, Renovate, Azure Pipelines, and more!
Stars: ✭ 51 (+168.42%)
Mutual labels:  pre-commit
pre-commit-hooks-safety
A pre-commit hook to check your Python dependencies against safety-db
Stars: ✭ 69 (+263.16%)
Mutual labels:  pre-commit
pre-commit-dbt
🎣 List of `pre-commit` hooks to ensure the quality of your `dbt` projects.
Stars: ✭ 149 (+684.21%)
Mutual labels:  pre-commit
Pre Commit Hooks
Some out-of-the-box hooks for pre-commit
Stars: ✭ 2,605 (+13610.53%)
Mutual labels:  pre-commit
template-python
Template repository for Python projects
Stars: ✭ 20 (+5.26%)
Mutual labels:  pre-commit
NextCommunity.github.io
Join FREE: Community of open-source programmers and software engineers.
Stars: ✭ 29 (+52.63%)
Mutual labels:  pre-commit
Husky
Git hooks made easy 🐶 woof!
Stars: ✭ 25,056 (+131773.68%)
Mutual labels:  pre-commit
pre-commit-hooks
git pre-commit hooks
Stars: ✭ 71 (+273.68%)
Mutual labels:  pre-commit
blackbricks
Black for Databricks notebooks
Stars: ✭ 40 (+110.53%)
Mutual labels:  pre-commit
seed-isort-config
Statically populate the `known_third_party` `isort` setting.
Stars: ✭ 67 (+252.63%)
Mutual labels:  pre-commit
mdformat
CommonMark compliant Markdown formatter
Stars: ✭ 90 (+373.68%)
Mutual labels:  pre-commit
pre-commit
pre-commit hook terraform; pre-commit hook prometheus
Stars: ✭ 35 (+84.21%)
Mutual labels:  pre-commit
Husky.Net
Git hooks made easy with Husky.Net internal task runner! 🐶 It brings the dev-dependency concept to the .NET world!
Stars: ✭ 394 (+1973.68%)
Mutual labels:  pre-commit
Pre Commit
A framework for managing and maintaining multi-language pre-commit hooks.
Stars: ✭ 7,024 (+36868.42%)
Mutual labels:  pre-commit

Build Status Azure DevOps coverage pre-commit.ci status

pre-commit-mirror-maker

Scripts for creating mirror repositories that do not have .pre-commit-hooks.yaml

Installation

$ pip install pre-commit-mirror-maker

Sample Usage

To see all supported configuration options, run:

$ pre-commit-mirror --help

For example: making a mirror of the yapf package:

$ git init mirrors-yapf
Initialized empty Git repository in /tmp/mirrors-yapf/.git/

$ pre-commit-mirror mirrors-yapf --language python --package-name yapf --args=-i --types python
[main (root-commit) 88bffee] Mirror: 0.1.3
 3 files changed, 16 insertions(+)
 create mode 100644 .pre-commit-hooks.yaml
 create mode 100644 .version
 create mode 100644 setup.py
[main 24cd5f4] Mirror: 0.1.4
 2 files changed, 2 insertions(+), 2 deletions(-)
[main 6695a76] Mirror: 0.1.5

...

[main 091ab92] Mirror: 0.22.0
 2 files changed, 2 insertions(+), 2 deletions(-)

$ ls -al mirrors-yapf/
total 24
drwxrwxr-x 3 asottile asottile 4096 May 26 10:00 .
drwxrwxr-x 8 asottile asottile 4096 May 26 10:00 ..
drwxrwxr-x 8 asottile asottile 4096 May 26 10:00 .git
-rw-rw-r-- 1 asottile asottile  136 May 26 10:00 .pre-commit-hooks.yaml
-rw-rw-r-- 1 asottile asottile  137 May 26 10:00 setup.py
-rw-rw-r-- 1 asottile asottile    7 May 26 10:00 .version
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].