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
Arvid Norberg and GitHub
5664516dda
Bump chia rs 0.34.0 ( #20226 )
...
bump chia_rs to 0.34.0
2025-11-10 17:02:10 -07:00
Arvid Norberg and GitHub
18fd65d13b
pass along plot format version from ProverProtocol into ProofOfSpace ( #19930 )
...
pass along plot format version from ProverProtocol into ProofOfSpace objects
2025-08-14 12:31:07 -07:00
Matt Hauff and GitHub
a803dc0fa6
[CHIA-3633] August 2025 pass of Ruff linting rules ( #19929 )
...
* Enable Ruff `PLR1704` (`redefined-argument-from-local`)
* Enable Ruff `PLR5501` (`collapsible-else-if`)
* Enable Ruff `PLW2901` (`redefined-loop-name`)
* bad change
* Enable Ruff `RUF043` (`pytest-raises-ambiguous-pattern`)
* Enable Ruff `RUF046` (`unnecessary-cast-to-int`)
* Enable Ruff `RUF052` (`used-dummy-variable`)
* Remove unused ignore `UP006`
* One mis-signaled regex
* Comments by @altendky
* bad change, my bad
2025-08-11 14:39:12 -07:00
Almog De Paz and GitHub
19a8329cbe
Plotmanager v2 ( #19832 )
...
* prover protocol and v2Prover
* format name
* format
* refactor filename
* tests/raise unimplemented
* add get_filename_str to mock
* rename methods
* rename
* refactor
* improve coverage
* test from bytes
2025-07-30 11:05:52 -07:00
Kyle Altendorf and GitHub
e446d6b726
use chia_rs directly for sized ints ( #19303 )
...
* use chia_rs directly for sized ints
* Update data_layer_rpc_api.py
2025-02-24 14:33:09 -08:00
Earle Lowe and GitHub
61cf266e28
CHIA-1697: Add new flag to support recursively scanning and following links ( #18803 )
...
* Add new flag to support recurvely scanning and following links
* black fix
* hardlink_to only in python 3.10+
* Remove unneeded hardlink checks as hardlinks to directories aren't a thing
* Minor update per code review
* use boolean_datacases
* Add new flag to initial-config
2024-11-06 10:24:02 -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
Matt Hauff and GitHub
3637bd33c6
Delete chia.util.misc ( #18170 )
...
* Move VersionedBlob to chia.util.streamable
* Move format_bytes to chia.cmds.cmds_util
* Move format_minutes to chia.cmds.cmds_util
* Move prompt_yes_no to chia.cmds.cmds_util
* Move get_list_or_len to from chia.plot_sync.receiver
* Move validate_directory_writable to chia.cmds.cmds_util
* Move *termination_signals to test_services
* Move UInt*Range to chia.util.streamable
* Create chia.util.batches
* Create chia.server.signal_handlers
* Create chia._tests.util.split_managers
* Move ValuedEvent to chia.types.transaction_queue_entry
* Move available_logical_cores to chia.util.cpu
* Move caller_file_and_line to chia._tests.util.misc
* Move satisfies_hint to chia._tests.wallet.test_singleton_lifecycle_fast
2024-06-18 08:27:17 -05:00
Kyle Altendorf and GitHub
a89222a428
move tests ( #17209 )
...
* prep
* verify source and installed tests match
* move
* remove move script
2024-03-14 10:19:20 -07:00