1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-27 09:58:27 +00:00
Commit Graph

48 Commits

Author SHA1 Message Date
matejcik
8fb41ee290 feat(core): enforce return type annotations 2024-11-12 16:55:17 +01:00
matejcik
8129086aa7 chore: upgrade pytest
to get rid of python 3.14 deprecation warnings
2024-09-12 09:36:13 +02:00
matejcik
0f18520690 chore(core/tools): make the core-tools available in top level poetry env 2024-08-28 16:15:10 +02:00
Pavol Rusnak
0fbfda7762 build(deps): bump typing-extensions to fix compatibility with Python 3.12
[no changelog]
2024-06-12 11:37:50 +02:00
Andrew Kozlik
9d0d1b3402 feat(core): Support extendable backup flag in SLIP-39. 2024-05-28 18:03:26 +02:00
dependabot[bot]
908e3cf9b0 ---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-23 12:19:38 +02:00
Pavol Rusnak
caa3c035e7 build(deps): drop curve25519-donna and ed25519 from deps
[no changelog]
2024-04-17 15:40:39 +02:00
Wink Saville
58c480f1a6 feat: Remove pyblake2
Pyblake2 is archived and read-only, https://github.com/dchest/pyblake2
Also, according to python/CHANGELOG.md is no longer needed:

  $ rg pyblake2
  python/CHANGELOG.md
  394:- `pyblake2` is no longer required on Python 3.6 and up

fixes #3613
2024-03-22 10:50:11 +01:00
matejcik
5f016a896a chore: upgrade style checkers
black 24.2.0
flake8 7.0.0

some neat improvements for if-else statements there
2024-02-29 13:08:18 +01:00
matejcik
f0d6539d3d feat: custom Pylint plugin
for now, it catches the following incorrect function:

async def show_foo() -> Awaitable[None]:
    return show_something_else("foo")

because to correctly show the result, the caller would have to "await (await show_foo())"

(this should either be "async def show_foo() -> None", or "def show_foo() -> Awaitable[None]")
2023-11-30 09:27:57 +01:00
matejcik
c3a4a765bb build(deps): update poetry env to Python 3.8, update Pillow 2023-10-16 13:51:36 +02:00
Pavol Rusnak
9b78dd107b fix(python): drop simple-rlp dependency and use internal copy 2023-10-11 13:04:26 +02:00
matejcik
a12bc416ed chore: upgrade to isort 5 2023-08-16 13:29:51 +02:00
matejcik
6cd174d540 feat: toiftool 2023-08-16 12:47:14 +02:00
grdddj
56df41afbd feat(poetry): add binsize as a dependency
[no changelog]
2023-07-27 13:34:29 +02:00
matejcik
bab8fecac5 chore: update towncrier to fix title generation problem 2023-06-14 11:42:12 +02:00
dependabot[bot]
92045275fb chore(deps): bump requests from 2.27.1 to 2.31.0
Bumps [requests](https://github.com/psf/requests) from 2.27.1 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.27.1...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-23 10:31:17 +02:00
Martin Milata
4199d4ad41 fix(core/ui): style update: fonts
[no changelog]
2023-03-23 20:16:22 +01:00
grdddj
5196f249a2 feat(core): add make command to check for unused upy code using vulture
[no changelog]
2023-01-25 19:17:56 +01:00
Pavol Rusnak
cd5425884f chore(core): remove keyctl-proxy + remove Pyro4 from Python deps
[no changelog]
2023-01-25 10:54:32 +01:00
grdddj
d5b0650cc2 feat(tests): add possibility to run device/UI tests in parallel 2022-08-29 15:47:36 +02:00
matejcik
60648c903f fix(changelog): explicitly include title in rendered template 2022-06-29 14:35:16 +02:00
matejcik
8c3d3c6548 chore: bump black to 22.3
changes:
* exponent operator ** now allows no spaces around itself: https://github.com/psf/black/issues/538
* optional unicode marker u"" is no longer allowed

[no changelog]
2022-06-29 14:35:16 +02:00
matejcik
01257abacd build(python): bump click to 8.1 2022-06-29 14:35:16 +02:00
grdddj
d7d228e716 chore(python): limit click version to be below 8.1 2022-03-24 14:30:20 +01:00
matejcik
c6bcb64443 feat(tests): use python-bitcoinlib for parsing Bitcoin txes 2022-02-28 15:45:29 +01:00
grdddj
319d0f16e3 chore(python): loosen ethereum dependencies
[no changelog]
2022-02-18 18:40:47 +01:00
Pavol Rusnak
b9bbd5fcd7 chore: update dependencies
[no changelog]

Co-Authored-By: Martin Milata <martin@martinmilata.cz>
2022-02-15 13:28:03 +01:00
matejcik
8d8cfd6692 build: fully replace mypy with pyright
[no changelog]
2022-01-07 21:41:17 +01:00
matejcik
678ff15170 chore: add Click typestub package to requirements 2021-12-07 16:55:58 +01:00
grdddj
77afcb335b chore(python): replacing attrs with dataclasses 2021-11-26 16:28:49 +01:00
matejcik
f88f568f1e feat(all): enable pylint globally
[no changelog]

with a whitelisted set of checks that can be expanded in the future if
we need something
2021-10-27 13:13:15 +02:00
Pavol Rusnak
595ac53b21 chore(build): demjson does not support py3 anymore -> demjson3 2021-10-01 19:01:50 +02:00
matejcik
dcb1cab481 chore: update mypy to 0.910 2021-09-24 10:30:19 +02:00
matejcik
7b3e0072ac chore: update mypy to stable 0.901 2021-06-14 12:12:58 +02:00
matejcik
0c5b0fe818 build: use mypy version from git 2021-06-08 09:55:19 +02:00
Jan Pochyla
e2cf9cda05 core: update deps, pin pillow to ^0.8 2021-05-06 13:14:21 +02:00
Martin Milata
f58c1634c6 docs(core): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
matejcik
00c8080ad8 chore: bump shamir-mnemonic to 0.2.1, regenerate poetry.lock 2021-02-05 10:44:09 +01:00
Martin Milata
fd4d6f9749
build(core): install trezorlib in development mode (#1421) 2021-01-20 11:53:01 +01:00
Tomas Susanka
09a8d4229e feat(ci): introduce yamllint 2020-11-10 10:27:47 +01:00
matejcik
ade6663c6c chore: clean up poetry requirements, use caret versions where appropriate 2020-10-07 16:21:00 +02:00
matejcik
6dda240f5c test(python): add flake8-requirements 2020-09-29 11:30:40 +02:00
Pavol Rusnak
71058eedd5 chore(vendor/nanopb): update nanopb from 0.4.1 to 0.4.3 2020-09-24 10:52:31 +02:00
Pavol Rusnak
1e58c86a9a
poetry: min supported python version is 3.5 2020-08-09 11:18:25 +02:00
Pavol Rusnak
3bf30cbc27
poetry: add pyblake2 2020-08-08 20:29:46 +02:00
Pavol Rusnak
da6752de22
pipenv+poetry: downgrade virtualenv to 20.0.23
https://github.com/pypa/virtualenv/issues/1873
2020-08-08 18:58:57 +02:00
Pavol Rusnak
e0ee8266ec
poetry: add pyproject.toml + lock file 2020-08-08 18:25:29 +02:00