13 Commits
Author SHA1 Message Date
Arvid NorbergandGitHub fe15e9ee6f [CHIA-4326] enable redundant expressions check in mypy (#21143)
* fix type annotation in configure.py and init.py

* enable mypy redundant-expr and remove redundant expressions
2026-07-29 09:37:24 -05:00
Earle LoweandGitHub 14afbde1ce [CHIA-4232] Update mypy 2.1 and handle strict bytes with exclusions (#20959) 2026-06-11 11:31:26 +01:00
Earle LoweandGitHub bd08dd5352 Type stubs for boto3 and sortedcontainers (#20966)
* Add boto3 stubs and fix typing

* Add sortedcontainers stubs - no code changes required

* cleanup use of asserts
2026-06-03 14:04:39 -05:00
Earle LoweandGitHub 78264f49ab Add types-colorama and drop mypy ignore for colorama (#20940)
Add types-colorama and remove mypy ignore for colorama imports.
2026-06-02 08:24:11 -05:00
Earle LoweandGitHub b08ee9a0b7 Add types-zstd and drop mypy ignore for zstd (#20938)
Add types-zstd and remove mypy ignore for zstd imports.
2026-06-01 12:21:32 -07:00
Earle LoweandGitHub 81830edb59 Add types-lxml and drop mypy ignore for lxml (#20939)
Add types-lxml and remove mypy ignore for lxml imports.
2026-06-01 08:54:37 -07:00
Earle LoweandGitHub 3c79ec7dae Add types-psutil and drop mypy ignore for psutil (#20941) 2026-05-29 08:04:17 -07:00
Adam KellyandGitHub 550fa6f199 Rename chialisp repo and update dependencies (#20154)
* Rename chialisp repo

* Rename chialisp repo
2025-10-17 06:23:32 -07:00
Kyle AltendorfandGitHub 6e7fcf38d7 drop universal mypy ignore missing imports (#19750)
* drop universal mypy ignore missing imports

* delete nor comment out

* ignore our use of the private `_overlapped`

* type...

* on same line. go me
2025-06-25 09:46:40 -07:00
Kyle AltendorfandGitHub a89222a428 move tests (#17209)
* prep

* verify source and installed tests match

* move

* remove move script
2024-03-14 10:19:20 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Kyle Altendorf
e986d1e3ee build(deps-dev): bump mypy from 1.5.1 to 1.7.0 (#16788)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-11-14 12:20:56 -06:00
Matt HauffandGitHub 79bf694800 Add **kwargs to all generate_signed_transaction definitions (#15240)
* Add **kwargs to all generate_signed_transaction definitions

* Add support for VC wallet too

* attempt to hint kwargs

* Import TypedDict from typing_extensions instead

* Fix tail driver call to generate_signed_transaction
2023-06-13 17:24:17 -05:00
ec5f85dfc4 mypy: Build mypy.ini config with exclusions dynamically (#15158)
* mypy: Build `mypy.ini` config with exclusions dynamically

* Apply suggestions from code review

* Revert suggested `check=True` because `mypy` is expected to fails here

* Only `read_text` once

* Fix exception message

* Don't `touch`

* More `joinpath`

* Revert `newline="\n"`, its python 3.10 only

See https://bugs.python.org/issue23706

* Apply suggestions

* Fail if new issues get introduced

* Print the newly introduces issues

* Handle error codes

* Add `write_file`

* Use `sys.executable`

Co-authored-by: Kyle Altendorf <sda@fstab.net>

* `mypy_failures[:-1]`

* Add an example comment

* Improve failure check

* Drop exclusions after rebase

* Drop one more exclusion after another rebase

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-05-22 16:50:13 -05:00