From ecdd5a5cc5875d9a84f3760ea256b27278c05dbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sun, 28 Jan 2024 23:42:11 +0200 Subject: [PATCH] autopep8 --- flake.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flake.nix b/flake.nix index e8da889..b1c470c 100644 --- a/flake.nix +++ b/flake.nix @@ -63,6 +63,11 @@ deadnix.enable = true; statix.enable = true; flake8.enable = true; + autopep8 = { + enable = true; + entry = "${pkgs.python3Packages.autopep8}/bin/autopep8 -i"; + files = "\\.py$"; + }; unit-tests = { enable = false; # ?? this is a directory, how do I run the script?