Fabian Wood
4a7558f9be
Added typehints for qt profiles
...
* `Any` used for pickle methods, this could probably be improved
with some kind of Callable
* str used for self.base, though this may be a problem for
different OSes. Some type of os.PathLike might be good.
* Line 75, type ignored: mypy was complaining about no. of args,
and kwargs there didn't seem to be needed. Separate issue to test,
though.
2020-07-31 00:56:48 +10:00
ANH
393403ffbf
add night mode and mobile class toggles in card layout screen
2020-07-30 15:39:02 +03:00
Damien Elmes
3d947febab
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
1300597c21
Merge pull request #716 from phwoo/patch-1
...
minor edit to fix author check
2020-07-30 17:00:41 +10:00
phwoo
3dfe20ff44
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
c8a8622a52
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
fb029d844b
Merge branch 'master' into add-type-hints-for-qt-models
2020-07-30 16:05:55 +10:00
Damien Elmes
22d7ec0456
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
b23129c3eb
added typehints to modelchooser, updated mypy.ini
2020-07-30 15:25:25 +10:00
Fabian Wood
8275a08240
updated CONTRIBUTORS
2020-07-30 13:29:05 +10:00
Fabian Wood
f0dabf4570
added type hints to qt models
2020-07-30 13:28:52 +10:00
Damien Elmes
860e70fa70
bust CI cache to hopefully fix Mac build issue
2020-07-30 09:44:23 +10:00
Damien Elmes
dfcf1c02b7
handle preview cards in graphs
2020-07-30 09:11:18 +10:00
Damien Elmes
a93145c4c7
handle preview repeat in deck list
2020-07-30 09:11:13 +10:00
Adam Plaice
df9e22aef5
Re-add previously supported file extensions for media
...
(They had been removed in 6939d8ba5b ).
2020-07-29 15:08:33 +02:00
Damien Elmes
cecdebc70b
pin pytest due to pylint issue
2020-07-29 14:52:45 +10:00
Damien Elmes
bb8127517f
Merge pull request #703 from ANH25/master
...
fix help-wanted#13
2020-07-29 14:14:57 +10:00
Damien Elmes
eadae617b3
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
aca9f5232c
Merge branch 'master' into help-wanted-4-add-type-hints-5
2020-07-29 13:56:57 +10:00
Damien Elmes
3da7884e19
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
f4bd143050
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
55891fc8f7
clearer message when template error is preventing save
2020-07-29 12:53:03 +10:00
Damien Elmes
4967c2571f
update svelte-check minimum
2020-07-29 12:06:48 +10:00
Damien Elmes
3a1e4a6500
Revert "svelte-check doesn't want a CSS string"
...
This reverts commit 3f62c1f79d .
Now they do again.🤷
2020-07-29 12:06:33 +10:00
Matt Krump
d4511e3287
Turn on check_untyped_defs for aqt.exporting
2020-07-28 18:42:22 -06:00
Matt Krump
98d8e1c926
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
cba96110c0
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
e1bfe68b9e
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
21174b31e5
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
d3653ab6d5
bump version
2020-07-28 12:59:56 +10:00
evandrocoan
c5f56166eb
Set to to checks.yml not run check rules on tagged releases
2020-07-27 23:26:21 -03:00
Damien Elmes
3f62c1f79d
svelte-check doesn't want a CSS string
2020-07-28 11:16:10 +10:00
Damien Elmes
f1f3832d21
update ts deps
2020-07-28 11:15:49 +10:00
Damien Elmes
3099edf8ee
show card stats in reverse order like older Anki versions
2020-07-28 09:49:27 +10:00
Damien Elmes
8f470ce23d
fix note/card ids being flipped in card stats
2020-07-28 09:49:11 +10:00
Damien Elmes
17ffe1e05d
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
ee10fd9008
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
1317b9f2b5
Fix browser.py import sorting
2020-07-26 13:16:06 -06:00
Matt Krump
0d8979f05e
Cast set to list to fix mypy failure in browser.py
2020-07-26 13:00:06 -06:00
Damien Elmes
94e4ee159a
fix handling of due reviews in filtered deck+future due graph
2020-07-26 10:28:56 +10:00
Damien Elmes
1d1f5e1afc
apply AltGr workaround on qt 5.14 as well
2020-07-26 10:13:53 +10:00
Matt Krump
f27d465d69
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
a389e3ca94
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
8d988d2b6f
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
9279d5e33d
Merge branch 'master' into master
2020-07-25 05:24:45 +03:00
Damien Elmes
925f2bccf8
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
6ad544cf62
Merge branch 'master' into help-wanted-4-add-type-hints-3
2020-07-25 11:43:46 +10:00
Damien Elmes
6ce01784c1
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
6b93ab28b6
Move name in Contributors so contrib.sh recognizes change of email
2020-07-24 12:50:02 -06:00
Matt Krump
e93ae88cdf
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