From c3251e61f5b829f3f7019b3a8bf27588056a89da Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Fri, 22 Sep 2023 21:29:18 +0200 Subject: [PATCH] Add pyproject.toml for sane `snakefmt` excludes, add `.git/` to `.gitignore` See https://github.com/nextstrain/monkeypox/pull/187 for details And https://github.com/snakemake/snakefmt/issues/202 --- .gitignore | 5 ++++- pyproject.toml | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 pyproject.toml diff --git a/.gitignore b/.gitignore index b2c0bb55..021b1e87 100644 --- a/.gitignore +++ b/.gitignore @@ -19,7 +19,10 @@ environment* env.d/ # Snakemake state dir -.snakemake +.snakemake/ + +# Git dir +.git/ # Local config overrides /config_local.yaml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..eec13042 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[tool.snakefmt] +include = '\.smk$|^Snakefile' +exclude = ''