pishoyg / coptic

This is a project that aims to make the Coptic language more learnable.
https://remnqymi.com/
GNU General Public License v3.0
10 stars 0 forks source link

[Pre-commit] Expand Pre-commit Hooks #213

Closed pishoyg closed 3 months ago

pishoyg commented 3 months ago

Time for some developer experience improvements!

pishoyg commented 3 months ago

TODO: Likely, the only thing left for this is adding some Python hooks (see). We want to add them (as we did for many others) just because they're recommended on pre-commit.com!

I don't think we will have anything else to do for this issue afterwards.

NOTE: There is also #215, which concerns mypy. It has its own issue because work for it seemed substantial.

pishoyg commented 2 months ago

We were about to adopt this config for Tidy:

break-before-br: yes
enclose-block-text: yes
enclose-text: yes
indent-spaces: 2
indent: auto
join-classes: yes
priority-attributes: id,name,class
punctuation-wrap: yes
quiet: yes
sort-attributes: alpha
strict-tags-attributes: yes
tidy-mark: no
vertical-space: yes
wrap: 80
write-back: yes

NOTE: It caused some issues with the site_publish pipeline, so we reverted it!