Commit Graph

3606 Commits

Author SHA1 Message Date
Damien Elmes
801c5fcc40 don't require a media scan after media deleted inside Anki 2020-02-29 14:45:16 +10:00
BlueGreenMagick
e46ace5044 match both forward slash and os seperator 2020-02-29 12:36:10 +09:00
evandrocoan
21b66cd86b Fixed anki website docs link on pylib/anki/consts.py 2020-02-28 22:18:19 -03:00
Arthur Milchior
5c5860eabc indicate that card_will_show belong to multiple windows 2020-02-28 13:34:48 +01:00
Damien Elmes
6828b98c99
Merge pull request #469 from alanhdu/monkeytype
Monkeytype the rest of pylib [2/n]
2020-02-28 17:25:39 +10:00
Damien Elmes
a954dc1066 fix _tidy_name() comment 2020-02-28 17:14:47 +10:00
Damien Elmes
4781ed4d70 fix display of years 2020-02-28 17:14:35 +10:00
Alan Du
7c971837ff Add some more types 2020-02-27 21:27:59 -05:00
Alan Du
f8af9c509b Monkeytype pylib/anki/importing/supermemo_xml.py 2020-02-27 19:27:32 -05:00
Alan Du
2879dc1158 Type pylib/anki/schedv2.py 2020-02-27 19:27:32 -05:00
Alan Du
b451f4e3f2 Monkeytype anki/rsbackend.py 2020-02-27 19:27:32 -05:00
Alan Du
02dd30f2a0 Monkeytype pylib/anki/sched.py 2020-02-27 19:27:32 -05:00
Alan Du
b157ee7570 Monkeytype pylib/anki/find.py 2020-02-27 19:27:32 -05:00
Damien Elmes
cb71cbad54 fix rerun-if-changed paths 2020-02-27 20:52:17 +10:00
Damien Elmes
92670acff8 make sure we pull in translations for check action as well 2020-02-27 20:52:05 +10:00
Damien Elmes
c966d88e4c add support for embedding the qt translations 2020-02-27 20:38:34 +10:00
Damien Elmes
368e03e1a8 stop fetching qt translations as part of recompile step 2020-02-27 20:38:05 +10:00
Damien Elmes
493d9899e2 fix echo statement 2020-02-27 20:37:44 +10:00
Damien Elmes
57f9ca787b dump po data into json to speed up invocations 2020-02-27 20:37:24 +10:00
Damien Elmes
43f5d13ed6 migrate strings with trailing newlines to fluent 2020-02-27 20:36:40 +10:00
Damien Elmes
f4d38f579d strip whitespace in extracted strings 2020-02-27 17:38:02 +10:00
Damien Elmes
da86c27d05 fix extract-po-string path 2020-02-27 17:37:40 +10:00
Damien Elmes
244326c130
Merge pull request #467 from alanhdu/monkeytype
Add some type annotations [1/n]
2020-02-27 17:25:50 +10:00
Alan Du
2476e120ad Fix type warning 2020-02-27 00:07:19 -05:00
Alan Du
53b088f09a Monkeytype pylib/anki/latex.py 2020-02-27 00:07:19 -05:00
Alan Du
b83e44b688 Monkeytype pylib/anki/stdmodels.py 2020-02-27 00:07:19 -05:00
Alan Du
ad90af3c37 Monkeytype pylib/anki/stats.py 2020-02-27 00:07:19 -05:00
Alan Du
1942d97cf5 Monkeytype pylib/anki/template.py 2020-02-27 00:07:19 -05:00
Alan Du
78a002d666 Monkeytype anki/tags.py 2020-02-27 00:07:19 -05:00
Alan Du
ac76c61a2f Monkeytype pylib/anki/errors.py 2020-02-27 00:07:19 -05:00
Alan Du
750a3e4aed Monkeytype pylib/anki/db.py 2020-02-27 00:07:19 -05:00
Alan Du
948c09e84b Monkeytype pylib/anki/decks.py 2020-02-27 00:07:19 -05:00
Damien Elmes
dc1542c6b5 remove submodule that crept into Alan's patch 2020-02-27 14:33:15 +10:00
Damien Elmes
3e1ba9e573 less wordy anki_extra_pip, and readme tweaks 2020-02-27 14:22:53 +10:00
Damien Elmes
e797d4f35a
Merge pull request #465 from alanhdu/rust-deps
Upgrade some rust deps
2020-02-27 14:13:26 +10:00
Damien Elmes
aefce51dae
Merge pull request #459 from evandroforks/fix_windows_build
Fixed development compilation with Windows 10
2020-02-27 14:13:06 +10:00
evandrocoan
ba3a84f89a Merge remote-tracking branch 'danielelmes/master' into fix_windows_build
# Conflicts:
#	CONTRIBUTORS
2020-02-27 00:54:16 -03:00
Damien Elmes
64bc9de7c5
Merge pull request #464 from alanhdu/mypy
Improve mypy config
2020-02-27 13:52:06 +10:00
evandrocoan
faaab30809 Fixed syntax error near unexpected token `&&' due ANKI_EXTRA_PIP
variable being undefined and added the last missing @ silencer on
the Makefile.
2020-02-27 00:51:36 -03:00
Alan Du
3ebdaa14de Update blake3 to 0.2 2020-02-26 22:50:48 -05:00
Alan Du
3867c20cfd Update prost-build version to 0.6
This is the same version as Prost, and lets us reduce the number of deps
we have to compile
2020-02-26 22:48:16 -05:00
Alan Du
a63c9e5a9a Apply mypy improvements to aqt 2020-02-26 22:27:58 -05:00
Alan Du
22ec886e07 Add to contributors 2020-02-26 22:22:40 -05:00
Alan Du
cbeb47f8df Improve mypy config
- Make mypy stricter
- Warn for unnecessary workarounds
2020-02-26 22:22:40 -05:00
evandrocoan
f206940d5c Added back missing Makefile @ silencers 2020-02-27 00:22:08 -03:00
evandrocoan
dc049ce26a Merge remote-tracking branch 'danielelmes/master' into fix_windows_build
# Conflicts:
#	Makefile
2020-02-27 00:20:34 -03:00
Damien Elmes
e04cbfd7f8
Merge pull request #462 from Arthur-Milchior/filter_empty_card
Add a hook to change empty cards to delete
2020-02-27 12:53:52 +10:00
Damien Elmes
5ea8a59139 match Alan's patch 2020-02-27 12:52:00 +10:00
Damien Elmes
34fcbf6af8 pipefail requires removing -q
https://github.com/ankitects/anki/pull/464#discussion_r384485166
2020-02-27 12:50:11 +10:00
Damien Elmes
4d917cc65b add self.col.tr() shortcut 2020-02-27 12:33:15 +10:00