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

Django-templaattien formatointi #77

Merged
merged 8 commits into from
Dec 19, 2024
Merged

Django-templaattien formatointi #77

merged 8 commits into from
Dec 19, 2024

Conversation

ilesoft
Copy link
Contributor

@ilesoft ilesoft commented Dec 12, 2024

Tämä PR on uusi yritys ottaa automaattinen muotoilu käyttöön myös näihin Django-templaatteihin. PR:ssä #48 kirjatut ongelmat templaattien rikkoutumisesta on ainakin pääsääntöisesti korjautunut tällä: djlint/djLint#1001.

Formatointi-commitin sha lisätään .git-blame-ignore-revs:iin vasta sitten kun tätä ei enään rebaseteta eli tuo edellinen #73 on mergetty.

@ilesoft ilesoft changed the base branch from develop to installation December 12, 2024 17:20
@pholm
Copy link
Contributor

pholm commented Dec 13, 2024

While at it, I'd add a precommit hook that does this

@ilesoft ilesoft marked this pull request as ready for review December 13, 2024 13:29
Base automatically changed from installation to develop December 19, 2024 14:28
Slightly format templates in advance
to make autoformatting behave correctly.
Multiple function calls in onclick handler needs
semicolons if later formatted to be on one line.
Seleniumlibrary have maybe some bug where formatting of
html files affects on how it finds links by text.
@ilesoft ilesoft merged commit 5ef586a into develop Dec 19, 2024
3 checks passed
@ilesoft ilesoft deleted the format-html branch December 19, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants