M1nd3r
cce2335965
refactor(core): use if TYPE_CHECKING instead of direct import and fix style of ignore statement
...
[no changelog]
2024-11-15 08:47:24 +01:00
matejcik
8640b50d81
style(core): upgrade pyright to 1.1.361
...
[no changelog]
2024-05-07 11:57:10 +02:00
grdddj
756a97a95d
chore(core): delete unused functions
2022-11-10 14:08:28 +01:00
grdddj
49765830de
chore(core): add underscores to private constants to reduce code size
2022-11-10 14:08:28 +01:00
grdddj
3d505874aa
feat(ci): create pyright tool and include it in CI
...
[no changelog]
2022-03-02 15:43:50 +01:00
grdddj
9fc5bb546b
style(core): full pyright-based type-checking
...
Changes many fields to required -- as far as we were able to figure out,
signing would fail if these fields aren't provided anyway, so this
should not pose a compatibility problem.
Co-authored-by: matejcik <ja@matejcik.cz>
2022-01-07 21:41:17 +01:00
matejcik
eec0615444
core: drop sys.pyi from mocks ( fixes #934 )
...
A change introduced in mypy 0.770 disallows overriding some system
modules, including `sys`.
We only need the override for `sys.print_exception`, and the simplest
solution is to make mypy ignore that particular call.
2020-04-08 11:19:26 +02:00
Tomas Susanka
0511cc8b8c
core: add final mypy fixes!
2019-10-22 14:36:25 +00:00
Jan Pochyla
29153f0e51
core/log: be less noisy with ui.Cancelled exceptions
2019-08-22 17:37:31 +02:00
Tomas Susanka
16b44b6f7b
core: improve log output for ui.Result exception ( #429 )
...
* core: improve log output for ui.Result exception
updates #373
* core: avoid importing ui module
2019-08-22 15:31:20 +02:00
Jan Pochyla
758a1a2528
core/typing: add annotations
2019-07-09 12:51:48 +02:00
matejcik
e5670856a2
MONOREPO CREATE FROM trezor-core
2019-04-15 19:14:40 +02:00