mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-12-04 12:26:34 +00:00
chore: Add bandit to dev shell
This commit is contained in:
parent
bbd909a544
commit
1d31a29dce
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue