Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitea6e55d

Browse files
committed
chore: fix lint issues
1 parent34e5880 commitea6e55d

File tree

6 files changed

+22
-20
lines changed

6 files changed

+22
-20
lines changed

‎config/config.exs‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
useMix.Config
22

3-
useMix.Config
4-
5-
config:git_ops,
6-
mix_project:AshPostgres.MixProject,
7-
changelog_file:"CHANGELOG.md",
8-
repository_url:"https://github.com/ash-project/ash_postgres",
9-
# Instructs the tool to manage your mix version in your `mix.exs` file
10-
# See below for more information
11-
manage_mix_version?:true,
12-
# Instructs the tool tomanage the version in your README.md
13-
# Pass in `true` to use `"README.md"` or a string to customize
14-
manage_readme_version:"README.md",
15-
version_tag_prefix:"v"
3+
ifMix.env()==:devdo
4+
config:git_ops,
5+
mix_project:AshPostgres.MixProject,
6+
changelog_file:"CHANGELOG.md",
7+
repository_url:"https://github.com/ash-project/ash_postgres",
8+
# Instructs the tool to manage your mix version in your `mix.exs` file
9+
# See below for more information
10+
manage_mix_version?:true,
11+
# Instructs the tool to manage the version in your README.md
12+
# Pass in `true` touse `"README.md"` or a string to customize
13+
manage_readme_version:"README.md",
14+
version_tag_prefix:"v"
15+
end

‎lib/ash_postgres.ex‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,10 @@ defmodule AshPostgres do
4747
{:ok,opts}->
4848
opts
4949

50-
{:error,[{key,message}|_]}->
50+
{:error,message}->
5151
raiseAsh.Error.ResourceDslError,
5252
resource:mod,
5353
using:__MODULE__,
54-
option:key,
5554
message:message
5655
end
5756
end

‎lib/migration.exs‎

Whitespace-only changes.

‎mix.exs‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ defmodule AshPostgres.MixProject do
2121
coveralls::test,
2222
"coveralls.github"::test
2323
],
24+
dialyzer:[
25+
plt_add_apps:[:ecto]
26+
],
2427
aliases:aliases(),
2528
package:package(),
2629
source_url:"https://github.com/ash-project/ash_postgres",
@@ -43,7 +46,7 @@ defmodule AshPostgres.MixProject do
4346
[
4447
{:ecto_sql,"~> 3.0"},
4548
{:postgrex,">= 0.0.0"},
46-
{:ash,"~> 0.1.2"},
49+
{:ash,"~> 0.1.8"},
4750
{:git_ops,"~> 2.0.0",only::dev},
4851
{:ex_doc,"~> 0.21",only::dev,runtime:false},
4952
{:ex_check,"~> 0.11.0",only::dev},

‎mix.lock‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
%{
2-
"ash":{:hex,:ash,"0.1.3","bd1b1f0375b7c4d81c750ff5e9cd0de7ec5b60989b649b1b927ae2a280a7dbe9",[:mix],[{:ecto,"~> 3.0",[hex::ecto,repo:"hexpm",optional:false]},{:ets,"~> 0.8.0",[hex::ets,repo:"hexpm",optional:false]},{:nimble_options,"~> 0.2.1",[hex::nimble_options,repo:"hexpm",optional:false]},{:picosat_elixir,"~> 0.1.3",[hex::picosat_elixir,repo:"hexpm",optional:false]}],"hexpm","ca1fac28bc113539486768f894110932df756ed43d329334cffcc2f2478339a7"},
2+
"ash":{:hex,:ash,"0.1.8","3dcb7169a3e2264c66a576a3208706d77774ddaeabd4b8670b659bc8cf5f8b4c",[:mix],[{:ecto,"~> 3.0",[hex::ecto,repo:"hexpm",optional:false]},{:ets,"~> 0.8.0",[hex::ets,repo:"hexpm",optional:false]},{:nimble_options,"~> 0.2.1",[hex::nimble_options,repo:"hexpm",optional:false]},{:picosat_elixir,"~> 0.1.3",[hex::picosat_elixir,repo:"hexpm",optional:false]}],"hexpm","3c7d84e42ede12b1c6ec9d19cbff06e0444ca20b6585b5c07d9c0d63d59d8a70"},
33
"bunt":{:hex,:bunt,"0.2.0","951c6e801e8b1d2cbe58ebbd3e616a869061ddadcc4863d0a2182541acae9a38",[:mix],[],"hexpm","7af5c7e09fe1d40f76c8e4f9dd2be7cebd83909f31fee7cd0e9eadc567da8353"},
44
"certifi":{:hex,:certifi,"2.5.2","b7cfeae9d2ed395695dd8201c57a2d019c0c43ecaf8b8bcb9320b40d6662f340",[:rebar3],[{:parse_trans,"~>3.3",[hex::parse_trans,repo:"hexpm",optional:false]}],"hexpm","3b3b5f36493004ac3455966991eaf6e768ce9884693d9968055aeeeb1e575040"},
55
"connection":{:hex,:connection,"1.0.4","a1cae72211f0eef17705aaededacac3eb30e6625b04a6117c1b2db6ace7d5976",[:mix],[],"hexpm","4a0850c9be22a43af9920a71ab17c051f5f7d45c209e40269a1938832510e4d9"},
@@ -21,7 +21,7 @@
2121
"git_ops":{:hex,:git_ops,"2.0.0","d720b54de2ce9ca242164c57c982e4f05c1b6c020db2785e338f93b6190980aa",[:mix],[{:git_cli,"~> 0.2",[hex::git_cli,repo:"hexpm",optional:false]},{:nimble_parsec,"~> 0.4",[hex::nimble_parsec,repo:"hexpm",optional:false]}],"hexpm","9aa270ea1cd4500eac4f38cac9b24019eee0aa524b96c95ad2f90cb0010840db"},
2222
"hackney":{:hex,:hackney,"1.16.0","5096ac8e823e3a441477b2d187e30dd3fff1a82991a806b2003845ce72ce2d84",[:rebar3],[{:certifi,"2.5.2",[hex::certifi,repo:"hexpm",optional:false]},{:idna,"6.0.1",[hex::idna,repo:"hexpm",optional:false]},{:metrics,"1.0.1",[hex::metrics,repo:"hexpm",optional:false]},{:mimerl,"~>1.1",[hex::mimerl,repo:"hexpm",optional:false]},{:parse_trans,"3.3.0",[hex::parse_trans,repo:"hexpm",optional:false]},{:ssl_verify_fun,"1.1.6",[hex::ssl_verify_fun,repo:"hexpm",optional:false]}],"hexpm","3bf0bebbd5d3092a3543b783bf065165fa5d3ad4b899b836810e513064134e18"},
2323
"idna":{:hex,:idna,"6.0.1","1d038fb2e7668ce41fbf681d2c45902e52b3cb9e9c77b55334353b222c2ee50c",[:rebar3],[{:unicode_util_compat,"0.5.0",[hex::unicode_util_compat,repo:"hexpm",optional:false]}],"hexpm","a02c8a1c4fd601215bb0b0324c8a6986749f807ce35f25449ec9e69758708122"},
24-
"jason":{:hex,:jason,"1.1.2","b03dedea67a99223a2eaf9f1264ce37154564de899fd3d8b9a21b1a6fd64afe7",[:mix],[{:decimal,"~> 1.0",[hex::decimal,repo:"hexpm",optional:true]}],"hexpm","fdf843bca858203ae1de16da2ee206f53416bbda5dc8c9e78f43243de4bc3afe"},
24+
"jason":{:hex,:jason,"1.2.1","12b22825e22f468c02eb3e4b9985f3d0cb8dc40b9bd704730efa11abd2708c44",[:mix],[{:decimal,"~> 1.0",[hex::decimal,repo:"hexpm",optional:true]}],"hexpm","b659b8571deedf60f79c5a608e15414085fa141344e2716fbd6988a084b5f993"},
2525
"machinery":{:hex,:machinery,"1.0.0","df6968d84c651b9971a33871c78c10157b6e13e4f3390b0bee5b0e8bdea8c781",[:mix],[{:ecto,"~> 3.0",[hex::ecto,repo:"hexpm",optional:false]}],"hexpm","4f6eb4185a48e7245360bedf653af4acc6fa6ae8ff4690619395543fa1a8395f"},
2626
"makeup":{:hex,:makeup,"1.0.0","671df94cf5a594b739ce03b0d0316aa64312cee2574b6a44becb83cd90fb05dc",[:mix],[{:nimble_parsec,"~> 0.5.0",[hex::nimble_parsec,repo:"hexpm",optional:false]}],"hexpm","a10c6eb62cca416019663129699769f0c2ccf39428b3bb3c0cb38c718a0c186d"},
2727
"makeup_elixir":{:hex,:makeup_elixir,"0.14.0","cf8b7c66ad1cff4c14679698d532f0b5d45a3968ffbcbfd590339cb57742f1ae",[:mix],[{:makeup,"~> 1.0",[hex::makeup,repo:"hexpm",optional:false]}],"hexpm","d4b316c7222a85bbaa2fd7c6e90e37e953257ad196dc229505137c5e505e9eff"},

‎test/ash_postgres_test.exs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ defmodule AshPostgresTest do
22
useExUnit.Case
33
doctestAshPostgres
44

5-
test"greets the world"do
6-
assertAshPostgres.hello()==:world
5+
test"works"do
6+
asserttrue
77
end
88
end

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp