init with python proj template
This commit is contained in:
commit
643c9ab0a8
5 changed files with 51 additions and 0 deletions
10
python-project/devenv.nix
Normal file
10
python-project/devenv.nix
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue