fix(release): trigger a release to remove the print statment

This commit is contained in:
Christopher Pickering 2022-09-07 09:20:48 -05:00
parent 7b1ad92d28
commit fdb65c9dd7
No known key found for this signature in database
GPG key ID: E14DB3B0A0FACF84
2 changed files with 8 additions and 9 deletions

View file

@ -90,3 +90,11 @@ djLint can use used as formatter in neovim using the `null-ls` plugin.
- [npm package](https://www.npmjs.com/package/coc-htmldjango)
:::
## null-ls.nvim
::: content
- [GitHub repository](https://github.com/jose-elias-alvarez/null-ls.nvim)
- [Lint](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/diagnostics/djlint.lua#L14)
- [Format](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/formatting/djlint.lua#L13)

View file

@ -1,9 +0,0 @@
import regex as re
string = """<span title="{% if eev.status == eev.STATUS_CURRENT %} {% trans 'A' %} {% elif eev.status == eev.STATUS_APPROVED %} {% trans 'B' %} {% elif eev.status == eev.STATUS_EXPIRED %} {% trans 'C' %}{% endif %}" class="asdf {%if a%}b{%endif%} asdf" {%if a%}checked{%endif%}>"""
regex = r"""(?<!\n[ ]*?)\K(<span[ ]+?(
(?:[^\s]+?=(?:\'(?:[^\']*?{%[^}]*?%}[^\']*?)+?\'))
)\s*?>)"""
print(re.findall(regex, string, re.I | re.X))