nixpkgs/nixos/modules/system/etc/check-build-composefs-dump.sh

9 lines
151 B
Bash
Executable File

#! /usr/bin/env nix-shell
#! nix-shell -i bash -p black ruff mypy
file=$1
black --check --diff $file
ruff --line-length 88 $file
mypy --strict $file