Skip to content

Commit

Permalink
fix: make default exclude regex more specific [#202]
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhall88 committed Oct 4, 2023
1 parent 618df85 commit 82ef2c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snakefmt/snakefmt.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

PathLike = Union[Path, str]
DEFAULT_EXCLUDES = (
r"(\.snakemake|\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|\.svn|_build|"
r"buck-out|build|dist|\.template)"
r"(\.snakemake/|\.eggs/|\.git/|\.hg/|\.mypy_cache/|\.nox/|\.tox/|\.venv/|\.svn/|"
r"_build/|buck-out/|/build/|/dist/|\.template/)"
)
DEFAULT_INCLUDES = r"(\.smk$|^Snakefile)"

Expand Down

0 comments on commit 82ef2c4

Please sign in to comment.