A framework for managing and maintaining multi-language pre-commit hooks.
Find a file
Joseph Moniz 0603c3c931 Add a coursier_launch integration
This is a follow up to the repository based coursier integration. The
standard coursier integration is to this integration what the docker
integration is to the docker_image integration.

This is meant to target either maven coordinates or coursier apps
directly without depending on a hook repository containing app
descriptors and hook configs making this integration highly suitable
for local hooks.

An example of hook local targets are bellow
```yaml
- repo: local
  hooks:
    - id: scalafmt
      name: scalafmt
      entry: scalafmt # coursier app target
      language: coursier_launch
      files: (\.scala|\.sbt|\.sc)$
    - id: scalafix
      name: scalafix
      entry: ch.epfl.scala:::scalafix-cli:latest.release # maven coordinates target
      language: coursier_launch
      files: (\.scala|\.sbt|\.sc)$
    - id: echo-java
      name: echo-java
      entry: echo-java
      language: coursier_launch
      args: ["--", "hello from java"] # forward arguments to the app
```
2020-11-06 12:55:21 -05:00
pre_commit Add a coursier_launch integration 2020-11-06 12:55:21 -05:00
testing Add a coursier_launch integration 2020-11-06 12:55:21 -05:00
tests Add a coursier_launch integration 2020-11-06 12:55:21 -05:00
.gitignore add initial dotnet support 2020-09-27 15:04:35 -07:00
.pre-commit-config.yaml v2.8.0 2020-10-28 21:59:03 -07:00
.pre-commit-hooks.yaml Remove validate_config hook 2017-08-23 14:06:48 -07:00
azure-pipelines.yml add coursier (jvm) as a language 2020-10-27 09:21:54 -07:00
CHANGELOG.md v2.8.2 2020-10-30 13:36:35 -07:00
CONTRIBUTING.md Add foor missing required dependencies in CONTRIBUTING.md 2020-06-12 18:38:44 +02:00
LICENSE MIT 2014-06-05 08:57:40 -07:00
README.md Add pre-commit.ci 2020-10-26 16:11:27 -07:00
requirements-dev.txt make an exe stub for windows 2020-09-28 18:37:10 -07:00
setup.cfg v2.8.2 2020-10-30 13:36:35 -07:00
setup.py Migrate setup.py to setup.cfg declarative metadata 2019-02-27 22:12:03 -08:00
tox.ini add initial dotnet support 2020-09-27 15:04:35 -07:00

Build Status Azure DevOps coverage pre-commit.ci status

pre-commit

A framework for managing and maintaining multi-language pre-commit hooks.

For more information see: https://pre-commit.com/