Damien Elmes
b2924b8a93
avoid sudo in typecheck setup if possible
2019-12-18 17:14:44 +10:00
Damien Elmes
cf570e04e1
update travis make rules
...
race condition should be fixed - fingers crossed.
2019-12-18 16:37:13 +10:00
Damien Elmes
daf504bca6
update docs
2019-12-18 16:16:44 +10:00
Damien Elmes
43b149391d
run prettier
2019-12-18 16:12:39 +10:00
Damien Elmes
103ad888d6
add prettier, tidy up makefile
2019-12-18 16:12:02 +10:00
Damien Elmes
8dc6ffbf73
need to make sure reqs are installed before typechecking/setup
2019-12-18 15:21:36 +10:00
Damien Elmes
ad032053b5
add pyqt5 to deps
2019-12-18 15:13:07 +10:00
Damien Elmes
74599f0f23
automatically install deps as part of build
2019-12-18 15:09:46 +10:00
Damien Elmes
af83f5124c
fix usage of pip instead of apt-get
2019-12-18 15:09:05 +10:00
Damien Elmes
efd48f3b3c
travis needs to install npm packages
2019-12-18 14:56:15 +10:00
Damien Elmes
4d8770c88c
make checks depend on full build
2019-12-18 14:52:53 +10:00
Damien Elmes
243bef4331
add npm to travis
2019-12-18 14:45:53 +10:00
Damien Elmes
eb0622e664
update docs
2019-12-18 14:43:40 +10:00
Damien Elmes
45083f3caa
compile typescript in one go
...
much faster, especially with --incremental
2019-12-18 14:33:57 +10:00
Damien Elmes
2196d075bc
update make clean
2019-12-18 13:57:04 +10:00
Damien Elmes
9ba44de5b6
editor
2019-12-18 13:55:52 +10:00
Damien Elmes
f7755554ef
reviewer
2019-12-18 13:32:32 +10:00
Damien Elmes
ca0d58245c
reviewer-bottom
2019-12-18 13:27:39 +10:00
Damien Elmes
e7e4e6414d
deckbrowser and overview
2019-12-18 13:21:58 +10:00
Damien Elmes
248693b6c2
webview.ts
2019-12-18 13:02:11 +10:00
Damien Elmes
4bf9cc8b5e
add typescript to build
2019-12-18 12:53:13 +10:00
Damien Elmes
f048bbaf1a
s/mypy/pytype/
2019-12-18 11:31:35 +10:00
Damien Elmes
48b58271fc
re-enable travis notifications
2019-12-18 11:23:07 +10:00
Damien Elmes
5749e6b656
update travis to use makefile
2019-12-18 11:13:23 +10:00
Damien Elmes
8d80bdc0d9
avoid running checks/builds when nothing has changed
...
with some defaults taken from https://tech.davis-hansson.com/p/make/
2019-12-18 11:12:17 +10:00
Damien Elmes
b62b1e421a
opt in to qt's new non-integer scaling
2019-12-17 18:43:32 +10:00
Damien Elmes
5f250fbec2
change wrap() to wrap2() to avoid breaking add-ons
2019-12-17 18:27:41 +10:00
Damien Elmes
9eed7980fd
disable help button in title bar
2019-12-17 17:59:19 +10:00
Damien Elmes
6b78cf8d68
don't set local offset in server mode
2019-12-17 17:10:56 +10:00
Damien Elmes
849b5ef7b2
remove ruby tags when pasting without formatting
2019-12-17 07:19:15 +10:00
Damien Elmes
85ac34e5bf
Merge pull request #362 from elenderg/patch-1
...
Update editor.js
2019-12-17 07:18:30 +10:00
Elender
ec8e570cc5
Update editor.js
...
Added ruby and ruby text tags
2019-12-16 15:30:42 -03:00
Damien Elmes
458491c49d
attempt to fix travis build
...
I can't reproduce the current failure on a local machine with py3.7.
Seems to be related to a parent() method inherited from Qt. We don't
need the instance var in any case.
2019-12-16 21:17:32 +10:00
Damien Elmes
82aefef054
Merge branch 'master' of github.com:dae/anki
2019-12-16 21:06:54 +10:00
Damien Elmes
2a7ec7c30f
make sure failures stop the build
2019-12-16 21:04:32 +10:00
Damien Elmes
edd18857f5
do type checking on 3.7, linting on 3.6
...
- python 3.6 chokes on the pyqt .pyi files
- need to check unit tests on 3.6 as well, as anki/ must run on 3.6
2019-12-16 21:02:10 +10:00
Damien Elmes
bcb469f3e4
Merge pull request #361 from Arthur-Milchior/testReqs
...
test req
2019-12-16 20:44:23 +10:00
Damien Elmes
d5b9bbf3d7
avoid specifying python version
2019-12-16 20:33:50 +10:00
Damien Elmes
0e1118aab4
avoid recalculating reqs in actions like adding cards
2019-12-16 20:27:58 +10:00
Damien Elmes
c0ede5d82c
add a few hints to some commonly used code
...
and add the extra hints mypy wanted
2019-12-16 19:46:40 +10:00
Damien Elmes
cde02d0269
avoid importing Collection from root module
...
even with this change, sadly we can't use pytype on the GUI code for
now - it does not support external .pyi files at the moment.
2019-12-16 19:07:22 +10:00
Damien Elmes
20167ac5bc
add pytype conf file
2019-12-16 18:27:26 +10:00
Damien Elmes
99181ce986
fixes cycles in template imports
2019-12-16 18:16:26 +10:00
Damien Elmes
78fd924525
don't try to decode str
2019-12-16 18:08:17 +10:00
Damien Elmes
a4914b75ac
clarify hasIllegal() arg
2019-12-16 17:54:57 +10:00
Damien Elmes
53ffd13c98
mpv was passing separators incorrectly and unnecessarily
2019-12-16 17:54:40 +10:00
Damien Elmes
6a72b9eedc
fix type inference in scheduler
2019-12-16 17:54:17 +10:00
Damien Elmes
2e4a46e87b
fix mplayer typecheck
2019-12-16 17:54:04 +10:00
Damien Elmes
b23c7b07f4
handle invalid field mod regex
2019-12-16 17:53:43 +10:00
Damien Elmes
3304e74f10
Sniffer technically expects a string, not a list
2019-12-16 17:53:20 +10:00