From 314c7960d1f34de7a6d757b946663cb110d2dd1a Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sun, 4 Aug 2024 01:31:54 +0200 Subject: [PATCH] statix: init --- shell.nix | 1 + statix.toml | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 statix.toml diff --git a/shell.nix b/shell.nix index 6133b0c..e12ac41 100644 --- a/shell.nix +++ b/shell.nix @@ -3,6 +3,7 @@ pkgs.mkShell { nativeBuildInputs = with pkgs; [ sops gnupg + statix openstackclient ]; diff --git a/statix.toml b/statix.toml new file mode 100644 index 0000000..530ee77 --- /dev/null +++ b/statix.toml @@ -0,0 +1,24 @@ +ignore = [".direnv"] +nix_version = '2.18' # '2.4' +disabled = [ + # "bool_comparison", # W01 + # "empty_let_in", # W02 + "manual_inherit", # W03 + "manual_inherit_from", # W04 + # "legacy_let_syntax", # W05 + "collapsible_let_in", # W06 + # "eta_reduction", # W07 + # "useless_parens", # W08 + "empty_pattern", # W10 + # "redundant_pattern_bind", # W11 + # "unquoted_uri", # W12 + # "deprecated_is_null", # W13 + # "empty_inherit", # W14 + # "faster_groupby", # W15 + # "faster_zipattrswith", # W16 + # "deprecated_to_path", # W17 + # "bool_simplification", # W18 + # "useless_has_attr", # W19 + "repeated_keys", # W20 + "empty_list_concat", # W23 +]