Damien Elmes
6ecfff56c5
add pytype inferred types to anki/
...
I've corrected some obvious issues, and we can fix others over time.
Mypy tests are currently broken, as adding the type hints has increased
mypy's testing surface.
2019-12-20 11:07:08 +10:00
Damien Elmes
b06b2f26f0
Sniffer technically expects a string, not a list
2019-12-16 17:53:20 +10:00
Damien Elmes
b4b8717a20
set instance vars in __init__()
2019-12-16 17:49:32 +10:00
Damien Elmes
ebdd8dae4b
tidy up unused imports
2019-03-04 17:25:19 +10:00
Damien Elmes
6e077ab414
use raw strings for regexs
2019-03-04 17:03:43 +10:00
Damien Elmes
372d5ed6e8
update copyright and clarify licenses
2019-02-05 14:01:33 +10:00
Carl Hofmeister
baee6916e7
Fix string decode error when importing csv files
2017-12-31 14:01:47 -06:00
Damien Elmes
cc742df71a
support PSV out of the box and make extending delims easier
2016-07-11 11:36:53 +10:00
Damien Elmes
15b349e3a8
start port to python 3
...
unit tests pass and main screens of GUI load
2016-05-12 14:45:35 +10:00
Soren I. Bjornstad
ba084cb46a
don't insert <br> into text of cards on import
...
When "allow HTML" was turned off, Anki was replacing newlines with <br>s
in the text of the new notes before it escaped HTML characters, so the
line breaks were becoming <br>.
2014-06-21 11:02:34 -05:00
Damien Elmes
2d4b79b490
keep scanning csv until we find non-zero field count ( #920 )
2013-07-03 04:23:33 +09:00
Damien Elmes
f7c5003c1c
better error with very long fields in import ( #852 )
2013-05-14 18:38:35 +09:00
Damien Elmes
a525d3c32c
make sure we don't chomp embedded newlines when clearing comments ( #722 )
2013-04-11 14:33:30 +09:00
Damien Elmes
b2457811a2
optimize imports
2012-12-22 09:17:10 +09:00
Damien Elmes
d477df8c28
merged libanki and ankiqt into single distro
2012-12-21 16:51:59 +09:00