Skip to content

fredrikekre/runic-pre-commit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

runic-pre-commit

A pre-commit hook to run the Runic.jl code formatter.

Usage

Install pre-commit (installation instructions) and add the following to your .pre-commit-config.yaml file:

repos:
  - repo: https://github.com/fredrikekre/runic-pre-commit
    rev: v2.0.1
    hooks:
      - id: runic

By default this will configure the hook to run with the latest Runic version available at hook installation time. To explicitly configure a version of Runic you can use pre-commits additional_dependencies configuration, for example to use Runic version 1.4.3:

repos:
  - repo: https://github.com/fredrikekre/runic-pre-commit
    rev: v2.0.1
    hooks:
      - id: runic
        additional_dependencies:
          - '[email protected]'

Note

The current version (v2.0.0 and above) of this repository make use of Julia language hooks which require pre-commit version 4.1.0 or later. If you cannot upgrade pre-commit you can use version v1.0.0 of this repository instead.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages