Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] [Formatter] extend_exclude does not work anymore 1.36.2 #1047

Closed
3 tasks done
Zerotask opened this issue Nov 28, 2024 · 0 comments
Closed
3 tasks done

[BUG] [Formatter] extend_exclude does not work anymore 1.36.2 #1047

Zerotask opened this issue Nov 28, 2024 · 0 comments
Labels
🦠 bug Something isn't working 🧽 formatter

Comments

@Zerotask
Copy link

Zerotask commented Nov 28, 2024

System Info

  • OS: macOS 15.1.1
  • Python Version: 3.12.7
  • djLint Version: 1.36.2
  • template language: django

Issue

After the update to 1.36.2 we noticed that a lot of files were formatted which were excluded in previous versions.
Is this a bug or an expected breaking change?

How To Reproduce

[tool.djlint] 
extend_exclude = "venv/,staticfiles/,.vscode/,.github/,node_modules/,templates/layout/base_email.html,.idea/,.tests/,.cache/,emails/"

Folder: apps/account/templates/user/emails/test.html

All html files inside these emails folder should be excluded. This was the behavior with the previous 1.35.x version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🦠 bug Something isn't working 🧽 formatter
Projects
None yet
Development

No branches or pull requests

1 participant