-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
253 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[ | ||
## don't run tools concurrently | ||
# parallel: false, | ||
|
||
## don't print info about skipped tools | ||
# skipped: false, | ||
|
||
## always run tools in fix mode (put it in ~/.check.exs locally, not in project config) | ||
# fix: true, | ||
|
||
## don't retry automatically even if last run resulted in failures | ||
# retry: false, | ||
|
||
## list of tools (see `mix check` docs for a list of default curated tools) | ||
tools: [ | ||
## curated tools may be disabled (e.g. the check for compilation warnings) | ||
# {:compiler, false}, | ||
|
||
## ...or have command & args adjusted (e.g. enable skip comments for sobelow) | ||
{:sobelow, "mix sobelow --exit --skip -i Config.HTTPS,Config.Headers --threshold medium"}, | ||
|
||
## ...or reordered (e.g. to see output from dialyzer before others) | ||
# {:dialyzer, order: -1}, | ||
{:dialyzer, false}, | ||
|
||
## ...or reconfigured (e.g. disable parallel execution of ex_unit in umbrella) | ||
{:ex_unit, false}, | ||
|
||
## custom new tools may be added (Mix tasks or arbitrary commands) | ||
# {:my_task, "mix my_task", env: %{"MIX_ENV" => "prod"}}, | ||
# {:my_tool, ["my_tool", "arg with spaces"]} | ||
{:doctor, false} | ||
] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
%{ | ||
configs: [ | ||
%{ | ||
name: "default", | ||
files: %{ | ||
included: ["lib/"], | ||
excluded: [] | ||
}, | ||
plugins: [], | ||
requires: [], | ||
strict: false, | ||
parse_timeout: 5000, | ||
color: true, | ||
checks: [ | ||
{Credo.Check.Readability.WithSingleClause, false} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
defmodule ExSecrets.HTTPAdapterBehavior do | ||
@moduledoc """ | ||
Behaviour for HTTP adapters. | ||
""" | ||
@callback get(binary(), map()) :: {:ok, map()} | {:error, binary()} | ||
@callback post(binary(), map(), map()) :: {:ok, map()} | {:error, binary()} | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.