mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
added ruff the treefmt
This commit is contained in:
12
treefmt.toml
12
treefmt.toml
@@ -12,3 +12,15 @@ command = "nixfmt"
|
||||
#options = []
|
||||
# Glob pattern of files to include
|
||||
includes = ["*.nix"]
|
||||
|
||||
[formatter.ruff-format]
|
||||
command = "ruff"
|
||||
options = ["format"]
|
||||
includes = ["python/**/*.py"]
|
||||
priority = 0
|
||||
|
||||
[formatter.ruff]
|
||||
command = "ruff"
|
||||
options = ["check", "--fix"]
|
||||
includes = ["python/**/*.py"]
|
||||
priority = 1
|
||||
|
||||
Reference in New Issue
Block a user