Skip to content

Commit 50fdf08

Browse files
committed
isort: Exclude templates
Templates files ending with `.py` are actually jinja templates, so `isort` usually mess them up when updating them. Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
1 parent bf9c006 commit 50fdf08

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ src_paths = [
138138
"tests",
139139
"cookiecutter/migrate.py",
140140
]
141+
skip_glob = ["cookiecutter/{{cookiecutter.github_repo_name}}/*"]
141142

142143
[tool.flake8]
143144
# We give some flexibility to go over 88, there are cases like long URLs or

0 commit comments

Comments
 (0)