From 1d31a29dce4cfa17fd6d62fc0c5a8599b1909136 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Mon, 12 Aug 2024 21:53:44 +0300 Subject: [PATCH] chore: Add bandit to dev shell --- flake.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/flake.nix b/flake.nix index d77dfde..26db6d2 100644 --- a/flake.nix +++ b/flake.nix @@ -40,6 +40,14 @@ black nixpkgs-fmt + [linters] + + bandit + CI uses the following command: + bandit -ll -r selfprivacy_api + mypy + pyflakes + [testing in NixOS VM] nixos-test-driver - run an interactive NixOS VM with all dependencies included and 2 disk volumes @@ -87,6 +95,7 @@ rclone valkey restic + bandit self.packages.${system}.pytest-vm # FIXME consider loading this explicitly only after ArchLinux issue is solved self.checks.x86_64-linux.default.driverInteractive