From 08901bd1f7623a538b26445a00be97b8b8ef6f71 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 13 Apr 2024 00:38:24 +0200 Subject: [PATCH] sqlfluff: format with nixfmt --- .../tools/database/sqlfluff/default.nix | 60 +++++++++---------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/pkgs/development/tools/database/sqlfluff/default.nix b/pkgs/development/tools/database/sqlfluff/default.nix index 41b804908f12..b452658e9fe9 100644 --- a/pkgs/development/tools/database/sqlfluff/default.nix +++ b/pkgs/development/tools/database/sqlfluff/default.nix @@ -1,6 +1,7 @@ -{ lib -, fetchFromGitHub -, python3 +{ + lib, + fetchFromGitHub, + python3, }: python3.pkgs.buildPythonApplication rec { @@ -15,31 +16,32 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-C8xH7LMCVXeJerdp8skIsTBQHkz0pPVKgUG+tEwx5GI="; }; - build-system = with python3.pkgs; [ - setuptools - ]; + build-system = with python3.pkgs; [ setuptools ]; - dependencies = with python3.pkgs; [ - appdirs - cached-property - chardet - click - colorama - configparser - diff-cover - jinja2 - oyaml - pathspec - pytest - regex - tblib - toml - tqdm - typing-extensions - ] ++ lib.optionals (pythonOlder "3.8") [ - backports.cached-property - importlib_metadata - ]; + dependencies = + with python3.pkgs; + [ + appdirs + cached-property + chardet + click + colorama + configparser + diff-cover + jinja2 + oyaml + pathspec + pytest + regex + tblib + toml + tqdm + typing-extensions + ] + ++ lib.optionals (pythonOlder "3.8") [ + backports.cached-property + importlib_metadata + ]; nativeCheckInputs = with python3.pkgs; [ hypothesis @@ -61,9 +63,7 @@ python3.pkgs.buildPythonApplication rec { "test__rules__std_file_dbt" ]; - pythonImportsCheck = [ - "sqlfluff" - ]; + pythonImportsCheck = [ "sqlfluff" ]; meta = with lib; { description = "SQL linter and auto-formatter";