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
Matt Hauff and GitHub
0e703e48e0
(Mostly) Replace flake8 with Ruff ( #18801 )
...
* Get flake8 config partially ready
* Mostly remove flake8 config
* Delete arithmetic whitespace ignore
* Delete unused program strings from tests
* Remove unnecessary noqas
* A couple more flake8 warnings
2024-11-01 09:55:16 -07:00
Matt Hauff and GitHub
6084112d48
[CHIA-1553] Replace pylint with ruff ( #18759 )
...
* Replace pylint with ruff
* poetry
* remove pylint
* Address comments by @altendky
* Undo formatting
* actually undo formatting
2024-10-25 15:55:37 -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
Kyle Altendorf and GitHub
ff5ef6e073
remove leading newlines from indented code blocks ( #14653 )
...
* remove leading newlines from indented code blocks
* catch another one
2023-02-23 21:53:48 -06: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
Arvid Norberg and GitHub
79034bb82e
improve generate_chain ( #11242 )
...
* improve generate_chain to have proper command line options. Make it include block references by default.
* fix shell linter
2022-04-27 11:43:33 -07:00
Arvid Norberg and GitHub
f9c4f1f96d
add tool to measure CPU utilization of a process tree ( #11264 )
...
* add tool to measure CPU utilization of a process tree and plot it over time
* make collecing thread counters optional
2022-04-22 10:53:53 -07:00