Matt Hauff and GitHub
40db4635a8
[LABS-245] Enable PEP604 Ruff rules ( #20269 )
...
* Enable PEP604 Ruff rules
* Fix harcoded signature in test
* Hack CLVMStreamable test with note to fast follow
2025-11-18 12:34:00 -08:00
4857c6f5a8
build(deps): bump mypy from 1.15.0 to 1.17.0 ( #19821 )
...
* build(deps): bump mypy from 1.15.0 to 1.17.0
---
updated-dependencies:
- dependency-name: mypy
dependency-version: 1.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* handle mypy commentary
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net >
2025-08-01 09:17:06 -07:00
6050235bdb
[CHIA-3043] Add (hopefully) non-controversial ruff rules ( #19684 )
...
* Add (hopefully) non-controversial ruff rules
* mypy-exclusions.txt
* PIE
* Fix pre-commit?
* PYI
* RSE
* S + ignores
* Whitespace fix
* Re-add build-init-files.py
* Add comment about security ignores
* Update mypy-exclusions.txt
Co-authored-by: Kyle Altendorf <sda@fstab.net >
* Fix the executable status of build-init-files.py
* Set executable bit for tools/run_block.py and readd shebang
* Fix new errors
---------
Co-authored-by: Kyle Altendorf <sda@fstab.net >
2025-06-11 08:36:08 -07:00
Kyle Altendorf and GitHub
9a0b5728c5
use a class for the chia cli context data ( #18919 )
...
* use a class for the chia cli context data
* actually assign to the context properly...
* handle the not-present case
* catch up
* tidy
* more
* stuff
* ...
* more real
* expected address prefix
2024-12-19 10:44:48 -07:00
Kyle Altendorf and GitHub
9c8557a1f8
Remove Python 3.8 support and update source to 3.9 standards ( #18687 )
...
* manual python 3.8 removals
* poetry
* pyupgrade
* black
* isort
* manually tidy imports
* work around shadowed type
* catch up build network protocol files for pyupgrade changes
* placate pylint
* re-enable 20.04
* placate flake8
2024-10-16 14:21:15 -07:00
dustinface and GitHub
3464debedb
cmds: ctx.exit -> raise click.ClickException ( #13577 )
...
`ctx.exit` expects an `int` only.
2022-09-30 17:50:19 -05:00
Kyle Altendorf and GitHub
3b084a165b
configure isort to add the future annotations import ( #13327 )
...
* configure isort to add the future annotations import
* apply the new isort setting
* remove type ignores for new mypy (#13539 )
https://pypi.org/project/mypy/0.981/
* another
2022-09-30 03:40:22 -05:00
Kyle Altendorf and GitHub
bbd032e1c9
embrace click 8 ( #13559 )
...
* click==8.1.3, black==22.8.0
* black
* click option creator hinting
* ignores for to-be-resolved issue
* remove unused import
2022-09-29 11:24:36 -05:00
dustinface and GitHub
837a4798f6
daemon: Implement system metrics logger based on beta config ( #12491 )
2022-09-14 12:12:24 -05:00
dustinface and GitHub
70fe981fb3
cmds: Implement chia beta ( #12389 )
...
* cmds: Implement `chia beta` for the beta test program
* Unhide and document all `beta` subcommands
* Refactor all subcommands
* Introduce `chia beta configure`
* Introduce `chia beta status`
* Test all `chia beta` commands
* Use a separate file logger for beta logs
* Write the plotting call args to the log file
* Sort potential submissions
* Some refactoring around log file log handler creation
* JSON dump the plotting args
2022-09-12 16:57:31 -05:00