From 287a9b3d1a8d70e45c947f244c305b539bc6108f Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Sun, 28 Jul 2024 14:15:23 -0400 Subject: [PATCH] add ruff/treefmt Signed-off-by: ahuston-0 --- .gitignore | 3 +++ treefmt.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 771cf5c..ce88720 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,6 @@ test.* pre-drv post-drv post-diff + +# ruff cache +.ruff_cache diff --git a/treefmt.toml b/treefmt.toml index 2ae50b8..de81533 100644 --- a/treefmt.toml +++ b/treefmt.toml @@ -19,4 +19,4 @@ command = "ruff" # Command-line arguments for the command options = ["format"] # Glob pattern of files to include -includes = [ "*.py" ] +includes = [ "*.py", ".pyc" ]