chore: Add bandit to dev shell

This commit is contained in:
Inex Code 2024-08-12 21:53:44 +03:00
parent bbd909a544
commit 1d31a29dce

View file

@ -40,6 +40,14 @@
black black
nixpkgs-fmt nixpkgs-fmt
[linters]
bandit
CI uses the following command:
bandit -ll -r selfprivacy_api
mypy
pyflakes
[testing in NixOS VM] [testing in NixOS VM]
nixos-test-driver - run an interactive NixOS VM with all dependencies included and 2 disk volumes nixos-test-driver - run an interactive NixOS VM with all dependencies included and 2 disk volumes
@ -87,6 +95,7 @@
rclone rclone
valkey valkey
restic restic
bandit
self.packages.${system}.pytest-vm self.packages.${system}.pytest-vm
# FIXME consider loading this explicitly only after ArchLinux issue is solved # FIXME consider loading this explicitly only after ArchLinux issue is solved
self.checks.x86_64-linux.default.driverInteractive self.checks.x86_64-linux.default.driverInteractive