fazibear/defql

View on GitHub

Showing 20 of 20 total issues

Space missing after comma
Open

    assert params == [1,2,3,4]

Space missing after comma

Space missing after comma
Open

    assert params == [1,2,3,4]

Space missing after comma

Module attribute @connection makes use of unsafe Application configuration call Application.get_env/2
Open

    @connection Application.get_env(:defql, :connection)
Severity: Critical
Found in lib/defql/adapter/postgres.ex by credo

Module attribute @connection makes use of unsafe Application configuration call Application.get_env/2

Space missing after comma
Open

    assert params == [1,2]

Space missing after comma

Space missing after comma
Open

    assert params == [1,2,3,4]

Space missing after comma

Space missing after comma
Open

    assert params == [1,2]

Space missing after comma

Module attribute @repo makes use of unsafe Application configuration call Application.get_env/2
Open

    @repo Application.get_env(:defql, :connection)[:repo]
Severity: Critical
Found in lib/defql/adapter/ecto/postgres.ex by credo

Module attribute @repo makes use of unsafe Application configuration call Application.get_env/2

Space missing after comma
Open

    assert params == [1,2,3,4]

Space missing after comma

Space missing after comma
Open

    defp to_map(list),do: Enum.into(list,%{})
Severity: Major
Found in lib/defql/adapter/postgres.ex by credo

Space missing after comma

Space missing after comma
Open

    Enum.zip(Range.new(1,length), params)
Severity: Major
Found in lib/defql/macros/defquery.ex by credo

Space missing after comma

Space missing after comma
Open

    defp to_map(list),do: Enum.into(list,%{})
Severity: Major
Found in lib/defql/adapter/postgres.ex by credo

Space missing after comma

Space missing after comma
Open

    assert params == [1,2]

Space missing after comma

Space missing after comma
Open

    assert params == [1,2]

Space missing after comma

Space missing after comma
Open

    assert result.params == [1,2]
Severity: Major
Found in test/defql/macros/defquery_test.exs by credo

Space missing after comma

Space missing after comma
Open

    assert params == [1,2,3,4]

Space missing after comma

Module attribute @adapter makes use of unsafe Application configuration call Application.get_env/2
Open

  @adapter Application.get_env(:defql, :connection)[:adapter]
Severity: Critical
Found in lib/defql/connection.ex by credo

Module attribute @adapter makes use of unsafe Application configuration call Application.get_env/2

Space missing after comma
Open

    assert params == [1,2]

Space missing after comma

Space missing after comma
Open

    assert params == [1,2,3,4]

Space missing after comma

Space missing after comma
Open

    {status, result} = query(1,2)
Severity: Major
Found in test/defql/macros/defquery_test.exs by credo

Space missing after comma

Space missing after comma
Open

    assert params == [1,2]

Space missing after comma

Severity
Category
Status
Source
Language