Commit Graph

6 Commits

Author SHA1 Message Date
Damien Elmes
c49d6ce49f run black/isort on Python scripts 2021-04-14 18:22:02 +10:00
Damien Elmes
948fc5f777 add missing copyright headers to *.py 2021-04-13 18:45:35 +10:00
Damien Elmes
d7516ae8d6 fix ftl check failing in non-utf8 locale 2021-01-19 16:28:13 +10:00
Damien Elmes
ffd59a03c0 show what's wrong when bad formatting found in ftl 2021-01-04 13:27:12 +10:00
Damien Elmes
bef1fabd74 catch references to missing terms in ftl check
https://github.com/ankitects/anki/pull/889

- We can't use compare_locales's getChecker(), as it seems to
be focused on checking translations rather than the original
templates.
- Also fix return code not being passed on in check_files()
- Temporarily pin pip-tools, as its output format has changed
2021-01-04 13:19:17 +10:00
Damien Elmes
52617511b0 automatically format/check ftl files 2020-11-22 15:30:59 +10:00