pre-commit/pre_commit/languages
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
..
__init__.py OMG we're running a hook 2014-03-13 22:12:33 -07:00
all.py Add a coursier_launch integration 2020-11-06 12:55:21 -05:00
conda.py fix a few spelling errors 2020-09-20 19:21:24 -07:00
coursier.py add coursier (jvm) as a language 2020-10-27 09:21:54 -07:00
coursier_launch.py Add a coursier_launch integration 2020-11-06 12:55:21 -05:00
docker.py simplify docker run 2020-10-10 18:09:51 -07:00
docker_image.py remove docker_is_running check from source 2020-08-22 17:33:32 -07:00
dotnet.py fix dotnet build cleanup 2020-11-03 08:53:17 -08:00
fail.py Remove unnecessary forward annotations 2020-02-07 08:32:39 -08:00
golang.py Remove unnecessary forward annotations 2020-02-07 08:32:39 -08:00
helpers.py allow default language_version of system when homedir is / 2020-10-28 22:56:10 -07:00
node.py don't use system for ruby/node if it is a shim exe 2020-10-28 16:52:55 -07:00
perl.py Remove unnecessary forward annotations 2020-02-07 08:32:39 -08:00
pygrep.py add --negate flag to pygrep 2020-10-17 18:50:40 +01:00
python.py don't pass through -p if using the default version 2020-09-23 17:44:18 -07:00
ruby.py don't call ruby install for language_version = default 2020-10-29 19:45:06 -07:00
rust.py Remove unnecessary forward annotations 2020-02-07 08:32:39 -08:00
script.py Remove unnecessary forward annotations 2020-02-07 08:32:39 -08:00
swift.py Use covdefaults to handle coveragerc 2020-02-29 14:25:19 -08:00
system.py Remove unnecessary forward annotations 2020-02-07 08:32:39 -08:00