Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 592 Bytes

File metadata and controls

22 lines (18 loc) · 592 Bytes

ufoNormalizer-pre-commit

A pre-commit hook for ufoNormalizer.

Installation

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

  - repo: https://github.com/klim-type-foundry/ufoNormalizer-pre-commit
    rev: 1.0.1
    hooks:
      - id: ufonormalizer

If you want to automatically commit the UFOs after normalisation, add --autofix:

  - repo: https://github.com/klim-type-foundry/ufoNormalizer-pre-commit
    rev: 1.0.1
    hooks:
      - id: ufonormalizer
        args: [--autofix]