Commit Graph

4858 Commits

Author SHA1 Message Date
Damien Elmes
215413ce25
Merge pull request #715 from phwoo/typehints-for-qt-modelchooser
Added typehints to qt/aqt/modelchooser.py, updated qt/mypy.ini
2020-07-30 17:00:58 +10:00
Damien Elmes
1c7aa152a6
Merge pull request #716 from phwoo/patch-1
minor edit to fix author check
2020-07-30 17:00:41 +10:00
phwoo
9aa8a12951
minor edit to fix author check
See https://github.com/ankitects/anki/pull/715#issuecomment-666143800
2020-07-30 16:56:24 +10:00
Damien Elmes
2926beb47b
Merge pull request #714 from phwoo/add-type-hints-for-qt-models
added type hints for qt models
2020-07-30 16:07:32 +10:00
Damien Elmes
f52a25d80a
Merge branch 'master' into add-type-hints-for-qt-models 2020-07-30 16:05:55 +10:00
Damien Elmes
7d6aed7849
Merge pull request #712 from aplaice/old_media_file_extensions
Re-add previously supported file extensions for media
2020-07-30 16:03:41 +10:00
Fabian Wood
c4f9bf62fd added typehints to modelchooser, updated mypy.ini 2020-07-30 15:25:25 +10:00
Fabian Wood
04d09ed2ed updated CONTRIBUTORS 2020-07-30 13:29:05 +10:00
Fabian Wood
e49a00fdeb added type hints to qt models 2020-07-30 13:28:52 +10:00
Damien Elmes
4b4e64e7c1 bust CI cache to hopefully fix Mac build issue 2020-07-30 09:44:23 +10:00
Damien Elmes
f9891da076 handle preview cards in graphs 2020-07-30 09:11:18 +10:00
Damien Elmes
a1866e72fd handle preview repeat in deck list 2020-07-30 09:11:13 +10:00
Adam Plaice
d6fb4acd38 Re-add previously supported file extensions for media
(They had been removed in 2ae342592c).
2020-07-29 15:08:33 +02:00
Damien Elmes
186ff1f185 pin pytest due to pylint issue 2020-07-29 14:52:45 +10:00
Damien Elmes
93ada5d374
Merge pull request #703 from ANH25/master
fix help-wanted#13
2020-07-29 14:14:57 +10:00
Damien Elmes
98679d6188
Merge pull request #711 from mkrump/help-wanted-4-add-type-hints-5
Turn on check_untyped_defs for aqt.editor and aqt.exporting
2020-07-29 13:59:13 +10:00
Damien Elmes
6d0d210130
Merge branch 'master' into help-wanted-4-add-type-hints-5 2020-07-29 13:56:57 +10:00
Damien Elmes
01d20044e7 reject double comma in id list
https://forums.ankiweb.net/t/anki-2-1-29-and-below-2-small-bugs/1496
2020-07-29 13:05:34 +10:00
Damien Elmes
6f76b86f7c handle multiple clozes in cloze-only filter
https://forums.ankiweb.net/t/built-in-tts-not-reading-multiple-clozes/1516
2020-07-29 12:54:29 +10:00
Damien Elmes
7e7f2d0be4 clearer message when template error is preventing save 2020-07-29 12:53:03 +10:00
Damien Elmes
b6687f0203 update svelte-check minimum 2020-07-29 12:06:48 +10:00
Damien Elmes
6d0a8e597e Revert "svelte-check doesn't want a CSS string"
This reverts commit bbff62bf32.

Now they do again.🤷
2020-07-29 12:06:33 +10:00
Matt Krump
5e6f532f56 Turn on check_untyped_defs for aqt.exporting 2020-07-28 18:42:22 -06:00
Matt Krump
24e7156991 Turn on check_untyped_defs for aqt.editor
* Turn on check_untyped_defs for aqt.browser
* Add type hints
2020-07-28 18:42:22 -06:00
Matt Krump
d789cea384 Fix svelte error
* Fix error: Type '{ opacity: number; }' is not assignable to type 'string'. (ts)
2020-07-28 18:38:25 -06:00
Damien Elmes
a239b9330d
Merge pull request #706 from mkrump/help-wanted-4-add-type-hints-4
Turn on check_untyped_defs for aqt.taglimit, aqt.update and aqt.browser
2020-07-28 13:16:49 +10:00
Damien Elmes
c945cf0e83
Merge pull request #709 from evandroforks/not_run_checks_on_tagged_releases
Set to to checks.yml not run check rules on tagged releases
2020-07-28 13:08:29 +10:00
Damien Elmes
227703f9fa bump version 2020-07-28 12:59:56 +10:00
evandrocoan
a4e7a76ab7 Set to to checks.yml not run check rules on tagged releases 2020-07-27 23:26:21 -03:00
Damien Elmes
bbff62bf32 svelte-check doesn't want a CSS string 2020-07-28 11:16:10 +10:00
Damien Elmes
0e4dae8ee1 update ts deps 2020-07-28 11:15:49 +10:00
Damien Elmes
1737a15766 show card stats in reverse order like older Anki versions 2020-07-28 09:49:27 +10:00
Damien Elmes
2bed018768 fix note/card ids being flipped in card stats 2020-07-28 09:49:11 +10:00
Damien Elmes
88fee1b7aa backlog fix
private message:
https://forums.ankiweb.net/t/issues-on-stats-page-anki-2-1-28beta6/1114
2020-07-27 12:10:45 +10:00
Damien Elmes
f45627dbd3 don't throw error on empty path
https://forums.ankiweb.net/t/anki-2-1-28-error-message-when-reviewing-cards/1439
2020-07-27 11:28:32 +10:00
Matt Krump
baa033bc78 Fix browser.py import sorting 2020-07-26 13:16:06 -06:00
Matt Krump
4239c2dfdc Cast set to list to fix mypy failure in browser.py 2020-07-26 13:00:06 -06:00
Damien Elmes
15c9cd9108 fix handling of due reviews in filtered deck+future due graph 2020-07-26 10:28:56 +10:00
Damien Elmes
dbbdd16f0f apply AltGr workaround on qt 5.14 as well 2020-07-26 10:13:53 +10:00
Matt Krump
b5222f935d Turn on check_untyped_defs for aqt.browser
* Turn on check_untyped_defs for aqt.browser
* Add type hints to browser
2020-07-25 17:31:49 -06:00
Matt Krump
b2cbe10d7e Turn on check_untyped_defs for aqt.update
* Turn on check_untyped_defs for aqt.update
2020-07-25 17:31:44 -06:00
Matt Krump
7356756868 Turn on check_untyped_defs for aqt.taglimit
* Add type hints taglimit
* Turn on check_untyped_defs for aqt.taglimit
2020-07-25 15:45:31 -06:00
ANH
671b1c76cb
Merge branch 'master' into master 2020-07-25 05:24:45 +03:00
Damien Elmes
ca8265a695
Merge pull request #705 from mkrump/help-wanted-4-add-type-hints-3
Add type hints for aqt.importing, aqt.errors and aqt.models
2020-07-25 11:44:05 +10:00
Damien Elmes
b3ec8046bf
Merge branch 'master' into help-wanted-4-add-type-hints-3 2020-07-25 11:43:46 +10:00
Damien Elmes
8780fa4986
Merge pull request #704 from mkrump/help-wanted-4-add-type-hints-deckconf
Add type hints for apt.deckconf
2020-07-25 11:41:35 +10:00
Matt Krump
0bd793b30a Move name in Contributors so contrib.sh recognizes change of email 2020-07-24 12:50:02 -06:00
Matt Krump
a844a8b0c5 Add type hints to importing
* Add type hints to importing
* Turn on type checking for aqt.importing
2020-07-24 12:38:34 -06:00
Matt Krump
186f1c7720 Add type hints to errors
* Add type hints to errors
* Turn on type checking for aqt.errors
2020-07-24 11:20:54 -06:00
Matt Krump
b0dd85f87e Add type hints to aqt.models
* Add type hints to aqt.models
* Turn on type checking for aqt.models
2020-07-24 10:59:45 -06:00