diff --git a/config/config.exs b/config/config.exs deleted file mode 100644 index 62df7069..00000000 --- a/config/config.exs +++ /dev/null @@ -1,19 +0,0 @@ -import Config - -if Mix.env() != :prod do - config :git_hooks, - auto_install: true, - verbose: true, - hooks: [ - pre_commit: [ - tasks: [ - {:cmd, "mix format --check-formatted"}, - {:cmd, "mix compile --warnings-as-errors"}, - {:cmd, "mix credo --strict"}, - {:cmd, "mix doctor"}, - {:cmd, "mix dialyzer"}, - {:cmd, "mix test"} - ] - ] - ] -end diff --git a/mix.exs b/mix.exs index 6b46e69e..a4e5ce33 100644 --- a/mix.exs +++ b/mix.exs @@ -78,8 +78,7 @@ defmodule PromEx.MixProject do {:excoveralls, "~> 0.14.4", only: :test, runtime: false}, {:doctor, "~> 0.18.0", only: :dev}, {:credo, "~> 1.6.1", only: :dev}, - {:dialyxir, "~> 1.1.0", only: :dev, runtime: false}, - {:git_hooks, "~> 0.6.4", only: [:test, :dev], runtime: false} + {:dialyxir, "~> 1.1.0", only: :dev, runtime: false} ] end diff --git a/mix.lock b/mix.lock index 953036a5..614b4ea5 100644 --- a/mix.lock +++ b/mix.lock @@ -23,7 +23,6 @@ "file_system": {:hex, :file_system, "0.2.10", "fb082005a9cd1711c05b5248710f8826b02d7d1784e7c3451f9c1231d4fc162d", [:mix], [], "hexpm", "41195edbfb562a593726eda3b3e8b103a309b733ad25f3d642ba49696bf715dc"}, "finch": {:hex, :finch, "0.18.0", "944ac7d34d0bd2ac8998f79f7a811b21d87d911e77a786bc5810adb75632ada4", [:mix], [{:castore, "~> 0.1 or ~> 1.0", [hex: :castore, repo: "hexpm", optional: false]}, {:mime, "~> 1.0 or ~> 2.0", [hex: :mime, repo: "hexpm", optional: false]}, {:mint, "~> 1.3", [hex: :mint, repo: "hexpm", optional: false]}, {:nimble_options, "~> 0.4 or ~> 1.0", [hex: :nimble_options, repo: "hexpm", optional: false]}, {:nimble_pool, "~> 0.2.6 or ~> 1.0", [hex: :nimble_pool, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "69f5045b042e531e53edc2574f15e25e735b522c37e2ddb766e15b979e03aa65"}, "gen_stage": {:hex, :gen_stage, "1.2.1", "19d8b5e9a5996d813b8245338a28246307fd8b9c99d1237de199d21efc4c76a1", [:mix], [], "hexpm", "83e8be657fa05b992ffa6ac1e3af6d57aa50aace8f691fcf696ff02f8335b001"}, - "git_hooks": {:hex, :git_hooks, "0.6.5", "adf029a6c46d517a87eed138ae2cb0e03729d9cde3665a59a94f38efafa0edab", [:mix], [{:blankable, "~> 1.0.0", [hex: :blankable, repo: "hexpm", optional: false]}, {:recase, "~> 0.7.0", [hex: :recase, repo: "hexpm", optional: false]}], "hexpm", "ecd4a3a7870fc24708a40793faa144fe767298127385348c30552ca5eaa2ad37"}, "hackney": {:hex, :hackney, "1.20.1", "8d97aec62ddddd757d128bfd1df6c5861093419f8f7a4223823537bad5d064e2", [:rebar3], [{:certifi, "~> 2.12.0", [hex: :certifi, repo: "hexpm", optional: false]}, {:idna, "~> 6.1.0", [hex: :idna, repo: "hexpm", optional: false]}, {:metrics, "~> 1.0.0", [hex: :metrics, repo: "hexpm", optional: false]}, {:mimerl, "~> 1.1", [hex: :mimerl, repo: "hexpm", optional: false]}, {:parse_trans, "3.4.1", [hex: :parse_trans, repo: "hexpm", optional: false]}, {:ssl_verify_fun, "~> 1.1.0", [hex: :ssl_verify_fun, repo: "hexpm", optional: false]}, {:unicode_util_compat, "~> 0.7.0", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm", "fe9094e5f1a2a2c0a7d10918fee36bfec0ec2a979994cff8cfe8058cd9af38e3"}, "hpax": {:hex, :hpax, "1.0.0", "28dcf54509fe2152a3d040e4e3df5b265dcb6cb532029ecbacf4ce52caea3fd2", [:mix], [], "hexpm", "7f1314731d711e2ca5fdc7fd361296593fc2542570b3105595bb0bc6d0fad601"}, "idna": {:hex, :idna, "6.1.1", "8a63070e9f7d0c62eb9d9fcb360a7de382448200fbbd1b106cc96d3d8099df8d", [:rebar3], [{:unicode_util_compat, "~> 0.7.0", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm", "92376eb7894412ed19ac475e4a86f7b413c1b9fbb5bd16dccd57934157944cea"},