init with python proj template

This commit is contained in:
Jasper Ras 2025-05-12 16:12:49 +02:00
commit 643c9ab0a8
5 changed files with 51 additions and 0 deletions

10
python-project/devenv.nix Normal file
View file

@ -0,0 +1,10 @@
{ ... }:
{
languages.python.enable = true;
languages.python.uv.enable = true;
# https://devenv.sh/pre-commit-hooks/
pre-commit.hooks.ruff.enable = true;
pre-commit.hooks.ruff-format.enable = true;
}