add hydra, update ruff, format files

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
2024-07-15 19:42:22 -04:00
parent 1736643635
commit 03e9a3652f
9 changed files with 242 additions and 63 deletions

22
treefmt.toml Normal file
View File

@ -0,0 +1,22 @@
# One CLI to format the code tree - https://github.com/numtide/treefmt
[global]
# Glob patterns of files to exclude
excludes = [ ".git/" ]
[formatter.nixfmt]
# Formatter to run
command = "nixfmt"
# Command-line arguments for the command
#options = []
# Glob pattern of files to include
includes = [ "*.nix" ]
[formatter.ruff]
# Formatter to run
command = "ruff"
# Command-line arguments for the command
options = ["format"]
# Glob pattern of files to include
includes = [ "*.py" ]