diff --git a/.formatter.exs b/.formatter.exs index ef8840c..602260a 100644 --- a/.formatter.exs +++ b/.formatter.exs @@ -2,5 +2,6 @@ import_deps: [:ecto, :ecto_sql, :phoenix], subdirectories: ["priv/*/migrations"], plugins: [Phoenix.LiveView.HTMLFormatter], - inputs: ["*.{heex,ex,exs}", "{config,lib,test}/**/*.{heex,ex,exs}", "priv/*/seeds.exs"] + inputs: ["*.{heex,ex,exs}", "{config,lib,test}/**/*.{heex,ex,exs}", "priv/*/seeds.exs"], + line_length: 100 ] diff --git a/config/test.exs b/config/test.exs index 957c6d3..aac5f87 100644 --- a/config/test.exs +++ b/config/test.exs @@ -6,9 +6,9 @@ import Config # to provide built-in test partitioning in CI environment. # Run `mix help test` for more information. config :pinchflat, Pinchflat.Repo, - username: "postgres", - password: "postgres", - hostname: "localhost", + username: System.get_env("POSTGRES_USER"), + password: System.get_env("POSTGRES_PASSWORD"), + hostname: System.get_env("POSTGRES_HOST"), database: "pinchflat_test#{System.get_env("MIX_TEST_PARTITION")}", pool: Ecto.Adapters.SQL.Sandbox, pool_size: 10 diff --git a/lib/pinchflat_web/components/core_components.ex b/lib/pinchflat_web/components/core_components.ex index 2d5ae2f..e715b97 100644 --- a/lib/pinchflat_web/components/core_components.ex +++ b/lib/pinchflat_web/components/core_components.ex @@ -614,8 +614,7 @@ defmodule PinchflatWeb.CoreComponents do to: selector, time: 200, transition: - {"transition-all transform ease-in duration-200", - "opacity-100 translate-y-0 sm:scale-100", + {"transition-all transform ease-in duration-200", "opacity-100 translate-y-0 sm:scale-100", "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"} ) end diff --git a/lib/pinchflat_web/telemetry.ex b/lib/pinchflat_web/telemetry.ex index d5ba1f1..172e290 100644 --- a/lib/pinchflat_web/telemetry.ex +++ b/lib/pinchflat_web/telemetry.ex @@ -70,8 +70,7 @@ defmodule PinchflatWeb.Telemetry do ), summary("pinchflat.repo.query.idle_time", unit: {:native, :millisecond}, - description: - "The time the connection spent waiting before being checked out for the query" + description: "The time the connection spent waiting before being checked out for the query" ), # VM Metrics