Gene Hoffman and GitHub
2e225e7b6e
Fix spelling typos in wallet conditions, solver API, and config ( #21058 )
2026-06-30 15:11:47 -07:00
50fc9105f7
build(deps): bump ruff from 0.15.13 to 0.15.16 ( #21018 )
...
* build(deps): bump ruff from 0.15.13 to 0.15.16
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.15.13 to 0.15.16.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.15.13...0.15.16 )
---
updated-dependencies:
- dependency-name: ruff
dependency-version: 0.15.16
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Add PLW0717 too-many-statements-in-try-clause to the ruff ignore list; add fixes for RUF075 and ASYNC119
* targeted ignores for RUF075
* more targeted ignores for RUF075
* some code cleanup
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Earle Lowe <e.lowe@chia.net >
2026-06-23 09:16:32 -05:00
452cbf890d
build(deps): bump ruff from 0.14.6 to 0.14.13 ( #20439 )
...
* build(deps): bump ruff from 0.14.6 to 0.14.13
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.14.6 to 0.14.13.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.14.6...0.14.13 )
---
updated-dependencies:
- dependency-name: ruff
dependency-version: 0.14.13
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* ruff fixes
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Earle Lowe <e.lowe@chia.net >
2026-02-10 11:01:17 -08:00
Matt Hauff and GitHub
0a39a4169f
Re-enable accidentally disabled T100 (breakpoints) ( #20416 )
2026-01-22 13:49:36 -08:00
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
rocksload and GitHub
8c50242410
chore: fix some typos in comments ( #20197 )
...
Signed-off-by: rocksload <rocksload@outlook.com >
2025-11-03 09:17:42 -07:00
32b60dbf14
build(deps): bump ruff from 0.12.11 to 0.14.0 ( #20137 )
...
* build(deps): bump ruff from 0.12.11 to 0.14.0
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.12.11 to 0.14.0.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.12.11...0.14.0 )
---
updated-dependencies:
- dependency-name: ruff
dependency-version: 0.14.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Add some ignores and fix some errors
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matt <quexington@gmail.com >
2025-10-15 15:16:15 -07:00
Matt Hauff and GitHub
87618b7d84
[LABS-248] Pivot Ruff config from "select" to "ignore" ( #20114 )
...
* Pivot from "select" to "ignore"
* Add classifications for ignores
2025-10-14 15:43:44 -07:00
e947dd14c7
[LABS-244] Remove python 3.9 support ( #20099 )
...
* initial changes
* poetry fix
* Address ruff
* Install scripts issues
* Experiment a little bit
* Okay now try for rocky linux and use 3.12 instead
* Remove the now unused thing
* Use dnf for consistency
* Simplify installations
* Still need git
* relock poetry with 2.2.0
* relock poetry with 2.2.0
* try `git checkout main poetry.lock && .penv/bin/poetry lock` on altendky's system
---------
Co-authored-by: Kyle Altendorf <sda@fstab.net >
2025-10-14 07:19:52 -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
Kyle Altendorf and GitHub
f054d339a1
unignore some ruff s rules ( #19703 )
2025-06-12 11:12:54 -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
f12c3b886d
build(deps): bump ruff from 0.8.1 to 0.8.5 ( #19102 )
...
* build(deps): bump ruff from 0.8.1 to 0.8.5
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.8.1 to 0.8.5.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.8.1...0.8.5 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* update ignore list
---------
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-01-08 09:27:26 -07:00
Kyle Altendorf and GitHub
1ffa73e99e
task referencer ( #18914 )
...
* put otherwise unheld tasks into the pit
* and the rest too
* cull less often
* task referencer
* private
* report unexpectedly unreferenced tasks
* also warn for automated catching in tests
* reporting task
* undo some
* fixup for 3.9
* ban asyncio.create_task
* oof
* simplify including using `Task.add_done_callback()` for culling
2025-01-02 10:13:51 -07:00
Kyle Altendorf and GitHub
d1596d4386
enable flake8-tidy-imports ( #18913 )
2024-11-21 14:57:15 -07:00
Kyle Altendorf and GitHub
d3b5fde3b2
flake8 implicit str concat ( #18908 )
...
* ISC001
* ISC002
* ISC003 (not)
* fewer comments
* indentation
2024-11-20 12:00:16 -07:00
Kyle Altendorf and GitHub
dd028574bb
enable ruff flake8 async ( #18899 )
2024-11-20 09:00:14 -07:00
Matt Hauff and GitHub
604fc1feb0
[CHIA-1732] Add Ruff specific linting rules ( #18845 )
...
* Add Ruff specific linting rules
* Further tighten ignore list
* Address comments by @altendky
* One more comment @altendky
2024-11-14 15:58:12 -07:00
6c90a76b56
Tighten up ruff ignore list ( #18837 )
...
* Tighten up ruff ignore list
* Okay that fix was indeed unsafe
* enable type-name-incorrect-variance
* enable literal-membership
* enable non-augmented-assignment
* enable useless-return
* enable global-variable-not-assigned
* -
* fixup
* Clean up roff.toml from annotations
* use ignore instead of explicit re-export
* use more descriptive names
---------
Co-authored-by: Kyle Altendorf <sda@fstab.net >
2024-11-12 12:19:31 -07:00
Matt Hauff and GitHub
42541aed42
[CHIA-1689] Miscellaneous ruff cleanups ( #18817 )
...
* Miscellaneous Ruff cleanups
* Migrate pyproject.toml to ruff.toml
2024-11-05 08:41:50 -07:00