Skip to content

ccoVeille/pre-commit-unmake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pre-commit-unmake

pre-commit

This repository brings unmake hook for pre-commit

unmake is a Makefile files linter. It helps to spot errors in these files.

More information on the project page.

For more detail about pre-commit project on the official website.

Using this hook

Add this to your .pre-commit-config.yaml

  - repo: https://github.com/ccoVeille/pre-commit-unmake
    rev: v1.0.4
    hooks:
      - id: unmake

Then use

$ pre-commit autoupdate

For more information about pre-commit configuration, please refer to the official documentation.

Motivation

pre-commit is a great tool.

unmake is a great tool.

Let's bring support to unmake in pre-commit

An issue and a PR had requested unmake owner to support it.

The owner refused to consider adding pre-commit support… So here, we are 😬 😁,

I created https://github.com/ccoVeille/pre-commit-unmake to provide it