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

introduce precommit and pymardown #352

Merged
merged 12 commits into from
Dec 31, 2024

Conversation

obscurerichard
Copy link
Member

@obscurerichard obscurerichard commented Dec 31, 2024

Introduce pre-commit and pymarkdown.

  • Fix pre-commit pymarkdown config
  • Rip out pyzipper for now
  • Add pymarkdown lint to actions
  • Arm linters and format
  • fix the problems the linter surfaced

Ignore long lines. Use pyproject.toml to configure pymarkdown.
Rip out comma between hashtags - visually we don't need it, and it
caused odd line breaking issues with the comma being not next to the
hashtag.
This is one of those rare cases where djlint messed up the code itself,
given the tricky non-standard HTML that lightbox expects.
@obscurerichard obscurerichard marked this pull request as ready for review December 31, 2024 17:36
@obscurerichard obscurerichard merged commit f6872c6 into master Dec 31, 2024
7 checks passed
@obscurerichard obscurerichard deleted the introduce-precommit-and-pymardown branch December 31, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant